Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAzureKeyVaultTrait ¶
Types ¶
type Trait ¶
type Trait struct { traitv1.Trait `property:",squash"` // Enables automatic configuration of the trait. Auto *bool `property:"auto" json:"auto,omitempty"` // The Azure Tenant Id for accessing Key Vault TenantID string `property:"tenant-id,omitempty"` // The Azure Client Id for accessing Key Vault ClientID string `property:"client-id,omitempty"` // The Azure Client Secret for accessing Key Vault ClientSecret string `property:"client-secret,omitempty"` // The Azure Vault Name for accessing Key Vault VaultName string `property:"vault-name,omitempty"` }
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"
+camel-k:trait=azure-key-vault.
Click to show internal directories.
Click to hide internal directories.