Azure (deprecated) :: Let’s Encrypt client and ACME library written in Go.
Author: Lego Team
Description: Configuration for Azure (deprecated).
Date: 2019-03-03T16:39:46+01:00

# Azure (deprecated)

Configuration for Azure (deprecated).

- Code: `azure`
- Since: v0.4.0

Note

Please contribute by adding a CLI example.

## Credentials

Environment Variable Name | Description
--- | ---
`AZURE_CLIENT_ID` | Client ID
`AZURE_CLIENT_SECRET` | Client secret
`AZURE_ENVIRONMENT` | Azure environment, one of: public, usgovernment, german, and china
`AZURE_RESOURCE_GROUP` | Resource group
`AZURE_SUBSCRIPTION_ID` | Subscription ID
`AZURE_TENANT_ID` | Tenant ID
`instance metadata service` | If the credentials are not set via the environment, then it will attempt to get a bearer token via the instance metadata service.

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. More information here.

## Additional Configuration

Environment Variable Name | Description
--- | ---
`AZURE_METADATA_ENDPOINT` | Metadata Service endpoint URL
`AZURE_POLLING_INTERVAL` | Time between DNS propagation check in seconds (Default: 2)
`AZURE_PRIVATE_ZONE` | Set to true to use Azure Private DNS Zones and not public
`AZURE_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation in seconds (Default: 120)
`AZURE_TTL` | The TTL of the TXT record used for the DNS challenge in seconds (Default: 60)
`AZURE_ZONE_NAME` | Zone name to use inside Azure DNS service to add the TXT record in

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. More information here.

## More information

- API documentation
- Go client