Skip to content

DNS Challenge plugin for Azure DNS compatible with Greenlock and Acme.js

License

Notifications You must be signed in to change notification settings

big-kahuna-burger/acme-01-dns-azure

Repository files navigation

npm CI Issues License

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
      }
    }
  })

About

DNS Challenge plugin for Azure DNS compatible with Greenlock and Acme.js

Resources

License

Stars

Watchers

Forks

Packages