2019-03-08 18:47:06 +00:00
---
2023-07-12 18:02:06 +00:00
title: "Azure (deprecated)"
2019-03-08 18:47:06 +00:00
date: 2019-03-03T16:39:46+01:00
draft: false
slug: azure
2022-06-16 22:25:42 +00:00
dnsprovider:
since: "v0.4.0"
code: "azure"
url: "https://azure.microsoft.com/services/dns/"
2019-03-08 18:47:06 +00:00
---
<!-- THIS DOCUMENTATION IS AUTO - GENERATED. PLEASE DO NOT EDIT. -->
<!-- providers/dns/azure/azure.toml -->
<!-- THIS DOCUMENTATION IS AUTO - GENERATED. PLEASE DO NOT EDIT. -->
2023-07-12 18:02:06 +00:00
Configuration for [Azure (deprecated) ](https://azure.microsoft.com/services/dns/ ).
2019-03-08 18:47:06 +00:00
<!-- more -->
- Code: `azure`
2022-06-16 22:25:42 +00:00
- Since: v0.4.0
2019-03-08 18:47:06 +00:00
{{% notice note %}}
_Please contribute by adding a CLI example._
{{% /notice %}}
## Credentials
| Environment Variable Name | Description |
|-----------------------|-------------|
| `AZURE_CLIENT_ID` | Client ID |
| `AZURE_CLIENT_SECRET` | Client secret |
2020-08-09 12:17:49 +00:00
| `AZURE_ENVIRONMENT` | Azure environment, one of: public, usgovernment, german, and china |
2019-03-08 18:47:06 +00:00
| `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 ](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service ). |
2019-03-18 16:42:54 +00:00
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
2024-08-14 21:55:11 +00:00
More information [here ]({{% ref "dns#configuration-and-credentials" %}} ).
2019-03-18 16:42:54 +00:00
2019-03-08 18:47:06 +00:00
## Additional Configuration
| Environment Variable Name | Description |
|--------------------------------|-------------|
| `AZURE_METADATA_ENDPOINT` | Metadata Service endpoint URL |
| `AZURE_POLLING_INTERVAL` | Time between DNS propagation check |
2022-01-17 09:05:59 +00:00
| `AZURE_PRIVATE_ZONE` | Set to true to use Azure Private DNS Zones and not public |
2019-03-08 18:47:06 +00:00
| `AZURE_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
| `AZURE_TTL` | The TTL of the TXT record used for the DNS challenge |
2021-08-07 11:03:14 +00:00
| `AZURE_ZONE_NAME` | Zone name to use inside Azure DNS service to add the TXT record in |
2019-03-08 18:47:06 +00:00
2019-03-18 16:42:54 +00:00
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
2024-08-14 21:55:11 +00:00
More information [here ]({{% ref "dns#configuration-and-credentials" %}} ).
2019-03-18 16:42:54 +00:00
2019-03-08 18:47:06 +00:00
## More information
- [API documentation ](https://docs.microsoft.com/en-us/go/azure/ )
- [Go client ](https://github.com/Azure/azure-sdk-for-go )
<!-- THIS DOCUMENTATION IS AUTO - GENERATED. PLEASE DO NOT EDIT. -->
<!-- providers/dns/azure/azure.toml -->
<!-- THIS DOCUMENTATION IS AUTO - GENERATED. PLEASE DO NOT EDIT. -->