= Aws Secrets Manager Trait

// Start of autogenerated code - DO NOT EDIT! (description)
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"


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 aws-secrets-manager.[key]=[value] --trait aws-secrets-manager.[key2]=[value2] integration.groovy
----
The following configuration options are available:

[cols="2m,1m,5a"]
|===
|Property | Type | Description

| aws-secrets-manager.enabled
| bool
| Can be used to enable or disable a trait. All traits share this common property.

| aws-secrets-manager.auto
| bool
| Enables automatic configuration of the trait.

| aws-secrets-manager.access-key
| string
| The AWS Access Key to use

| aws-secrets-manager.secret-key
| string
| The AWS Secret Key to use

| aws-secrets-manager.region
| string
| The AWS Region to use

| aws-secrets-manager.use-default-credentials-provider
| bool
| Define if we want to use the Default Credentials Provider chain as authentication method

|===

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