acme-dns-01-azure

[![npm][npm-image]](https://www.npmjs.com/package/acme-dns-01-azure) [![CI](https://github.com/big-kahuna-burger/acme-01-dns-azure/actions/workflows/ci.yml/badge.svg)](https://github.com/big-kahuna-burger/acme-01-dns-azure/actions/workflows/ci.yml)

Usage no npm install needed!

<script type="module">
  import acmeDns01Azure from 'https://cdn.skypack.dev/acme-dns-01-azure';
</script>

README

npm CI

acme-01-dns-azure

Greenlock/Acme.js plugin for Azure DNS

Installation

  1. Add a package to your dependencies
npm i acme-01-dns-azure
  1. Then use it in your project with greenlock:
greenlock
  .manager
  .defaults({
    agreeToTerms: true,
    subscriberEmail: 'email_of_person_responsible_for_cert_renewals@yourcompany.com',
    challenges: {
      'dns-01': {
        module: 'acme-dns-01-azure',
        clientId: process.env.AZURE_CLIENT_ID, // Your service principal application id
        clientSecret: process.env.AZURE_CLIENT_SECRET, // Your service principal application secret
        subscriptionId: process.env.AZURE_SUBSCRIPTION_ID, // Your tenant's subscription id,
        azureDomain: process.env.AZURE_DOMAIN, // Your customized tenant domain (or tenant id if your tenant is not customized)
        TTL: 60
      }
    }
  })