--- title: "Azure Key Vault | Strata Docs" slug: "azure-key-vault" updated: 2025-09-09T18:19:48Z published: 2025-09-09T18:19:48Z canonical: "legacy-docs.strata.io/azure-key-vault" --- > ## Documentation Index > Fetch the complete documentation index at: https://legacy-docs.strata.io/llms.txt > Use this file to discover all available pages before exploring further. # Azure Key Vault To load secrets from Azure Key Vault, set the `MAVERICS_SECRET_PROVIDER` environment variable in the `/etc/maverics/maverics.env` file with the credentials attached to your service account application, using the following pattern: ```shell MAVERICS_SECRET_PROVIDER='azurekeyvault://.vault.azure.net?clientID=&clientSecret=&tenantID=' ``` In the Orchestrator's configuration file, use the resource name in Key Vault as the placeholder for any secrets. Azure Key Vault certificates are also supported, but the certificate and key must be PEM encoded, and the file must be in the following format: ```plaintext -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN PRIVATE KEY----- -----END PRIVATE KEY----- ``` > As of February 2024, Azure does not support loading a PKCS1 .pem key file. If you have a PKCS1 .pem key file, it must be converted to PKCS8 before combining it with the certificate. You can convert PKCS1 to PKCS8 with the following command: `openssl pkcs8 -topk8 -inform PEM -outform PEM -in rsa-private-key.pem -out pkcs8-private-key.pem -nocrypt` The file must be imported to the **Certificates** section, not as a Secret. For more information, see [Tutorial: Import a certificate in Azure Key Vault](https://learn.microsoft.com/en-us/azure/key-vault/certificates/tutorial-import-certificate?tabs=azure-portal). In the orchestrator configuration, use the same certificate name from Key Vault for both `certFile` and `keyFile` fields. For example: ```yaml tls:  maverics:    certFile:    keyFile: connectors:   - name: azure     type: azure     authType: oauth     oauthClientID:     oauthClientSecret:     # ... ``` ### Entra ID Host Option By default, the Orchestrator authenticates to Azure Key Vault using the `login.microsoftonline.com` endpoint. If your Key Vault is associated with a non-commercial Azure Entra ID tenant—such as a government, national cloud, or other sovereign cloud instance—you can override the default by specifying the `entraIDHost` query parameter. For example, to authenticate against a U.S. government tenant, set `entraIDHost` to `login.microsoftonline.us`: ```shell MAVERICS_SECRET_PROVIDER='azurekeyvault://.vault.usgovcloudapi.net?entraIDHost=login.microsoftonline.us&clientID=&clientSecret=&tenantID=' ```