= Azure Key Vault Trait

// Start of autogenerated code - DO NOT EDIT! (description)
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: xref:components::azure-key-vault-component.adoc[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**.

// End of autogenerated code - DO NOT EDIT! (description)
// Start of autogenerated code - DO NOT EDIT! (configuration)
== Configuration

Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait azure-key-vault.[key]=[value] --trait azure-key-vault.[key2]=[value2] integration.groovy
----
The following configuration options are available:

[cols="2m,1m,5a"]
|===
|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
| string
| The Azure Tenant Id for accessing Key Vault

| azure-key-vault.client-id
| string
| The Azure Client Id for accessing Key Vault

| azure-key-vault.client-secret
| string
| The Azure Client Secret for accessing Key Vault

| azure-key-vault.vault-name
| string
| The Azure Vault Name for accessing Key Vault

|===

// End of autogenerated code - DO NOT EDIT! (configuration)
