• Task
  • Version · 6.0
  • Create

Use Azure Key Vault secrets with Liquibase

Last updated: October 14, 2026

Procedure

1

Grant your Azure identity access to the vault

2

Provide Azure credentials

loading

loading
3

Reference vault items in your Liquibase configuration

liquibase.command.password=azure-key-vault-secret,https://your_vault_name.vault.azure.net,your_secret_name

loading

loading

loading
liquibase.command.password=azure-key-vault-secret,https://your_vault_name.vault.azure.net,your_secret_name,your_version_id
liquibase.azure.keyVault.url=https://your_vault_name.vault.azure.net
liquibase.command.password=azure-key-vault-secret,,your_secret_name
your.property=azure-key-vault-key,https://your_vault_name.vault.azure.net,your_key_name
your.other.property=azure-key-vault-cert,https://your_vault_name.vault.azure.net,your_certificate_name
4

Verify the resolution

loading
LIQUIBASE_COMMAND_PASSWORD resolved to an Azure Key Vault Secrets secret.

Troubleshooting

Failed to retrieve secret from vault

Failed to retrieve secret from vault 'https://your_vault_name.vault.azure.net'. Verify the RBAC role assignment (or legacy access policy) on the calling identity. (cause: HTTP 403)

Invalid Azure Key Vault Secrets reference

Invalid Azure Key Vault Secrets reference. Expected 'azure-key-vault-secret,<vault-url>,<name>[,<version>]' but found 2 comma-separated segment(s).

Azure Key Vault Secrets requires a vault URL

Vault URL must be an https:// URL

The reference is used literally as the password

Requires the Liquibase Azure extension and a Liquibase Secure license