Azure Key Vault Trait

The Azure Key Vault trait can be used to use secrets from Azure Key Vault service

The Azure Key Vault trait is disabled by default.

For more information about how to use secrets from Azure Key Vault component take a look at the components docs: Azure Key Vault component

A sample execution of this trait, would require the following trait options: -t azure-key-vault.enabled=true -t azure-key-vault.tenant-id="tenant-id" -t azure-key-vault.client-id="client-id" -t azure-key-vault.client-secret="client-secret" -t azure-key-vault.vault-name="vault-name"

This trait is available in the following profiles: Kubernetes, Knative, OpenShift.

Configuration

Trait properties can be specified when running any integration with the CLI:

$ kamel run --trait azure-key-vault.[key]=[value] --trait azure-key-vault.[key2]=[value2] integration.groovy

The following configuration options are available:

Property Type Description

azure-key-vault.enabled

bool

Can be used to enable or disable a trait. All traits share this common property.

azure-key-vault.auto

bool

Enables automatic configuration of the trait.

azure-key-vault.tenant-id,omitempty

string

The Azure Tenant Id for accessing Key Vault

azure-key-vault.client-id,omitempty

string

The Azure Client Id for accessing Key Vault

azure-key-vault.client-secret,omitempty

string

The Azure Client Secret for accessing Key Vault

azure-key-vault.vault-name,omitempty

string

The Azure Vault Name for accessing Key Vault