The Azure Key Vault component is used to manage and protect secrets, encryption keys, and certificates securely.
URI syntax: azure-key-vault:vaultName
Path parameters
Name | Description | Default | Type |
|---|---|---|---|
vaultName (producer) | Vault name to be used. | — | String |
Query parameters
Name | Description | Default | Type |
|---|---|---|---|
operation (producer) | Operation to be performed. Enum values: createSecret, getSecret, updateSecretProperties, deleteSecret and purgeDeletedSecret | — | KeyVaultOperation |
clientId(security) | Client Id to be used. | — | String |
clientSecret(security) | Client Secret to be used. | — | String |
tenantId (security) | Tenant Id to be used. | — | String |
The example flow creates a secret, queries its value, and then deletes it.
Secret Creation
CamelAzureKeyVaultSecretName: my-secret-name).My secret data).createSecret on vault demo-vault-integrations.Secret Query
getSecret to retrieve the value.Secret Deletion
deleteSecret to remove the secret from the vault.
Scenario | Result |
|---|---|
| Using invalid credentials | Runtime error |
| Missing Azure permissions | Runtime error |
| Operation not specified | Runtime error |
| Credentials not specified (client Id, secret or tenantId) | Deploy error |
| Wrong vault name | Runtime error |
| Vault name not specified | Deploy error |
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more