Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Trait ¶
type Trait struct {
traitv1.Trait `property:",squash"`
// Enables automatic configuration of the trait.
Auto *bool `property:"auto" json:"auto,omitempty"`
// The AWS Access Key to use
AccessKey string `property:"access-key,omitempty"`
// The AWS Secret Key to use
SecretKey string `property:"secret-key,omitempty"`
// The AWS Region to use
Region string `property:"region,omitempty"`
// Define if we want to use the Default Credentials Provider chain as authentication method
UseDefaultCredentialsProvider *bool `property:"use-default-credentials-provider,omitempty"`
}
The Secrets Manager trait can be used to use secrets from AWS Secrets Manager
The AWS Secrets Manager trait is disabled by default.
For more information about how to use secrets from AWS Secrets Manager take a look at the components docs: xref:components::aws-secrets-manager-component.adoc[AWS Secrets Manager component]
A sample execution of this trait, would require the following trait options: -t aws-secrets-manager.enabled=true -t aws-secrets-manager.access-key="aws-access-key" -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region"
+camel-k:trait=aws-secrets-manager.
Click to show internal directories.
Click to hide internal directories.