Azure Keyvault

Azure KeyVault

Use this provider to store your variables as a Secret in Azure Key Vault.

Dots (.) in variable-paths are automatically replaced by '-' before storing in the Key Vault due to the Key Vault not supporting dots

Configuration

FieldValue
UriThe Uri of the Azure KeyVault

Sample

.confixrc
{
  "project": {
    "variableProviders": [
      {
        "name": "keyvault",
        "type": "azure-keyvault",
        "uri": "https://mykeyvault-dev.vault.azure.net"
      }
    ]
  }
}

Authentication

The implementation uses DefaultAzureCredential (opens in a new tab) to authenticate. During local development az login can be used to authenticate.

The Authenticated user requires the following Secret permissions:

ActionRequired Permission
confix restorelist
confix buildget
confix variable setset
confix variable getget