Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.6 KB

README.md

File metadata and controls

42 lines (34 loc) · 1.6 KB

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 protected]',
    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
      }
    }
  })