This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 6702b7506bc CAMEL-18625 - Updated Docs
6702b7506bc is described below
commit 6702b7506bc5c5858be1d6ab9334d459763b8bca
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Apr 7 07:56:20 2023 +0200
CAMEL-18625 - Updated Docs
Signed-off-by: Andrea Cosentino <[email protected]>
---
.../src/main/docs/aws-secrets-manager-component.adoc | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git
a/components/camel-aws/camel-aws-secrets-manager/src/main/docs/aws-secrets-manager-component.adoc
b/components/camel-aws/camel-aws-secrets-manager/src/main/docs/aws-secrets-manager-component.adoc
index 28eca1b136e..b3358f11032 100644
---
a/components/camel-aws/camel-aws-secrets-manager/src/main/docs/aws-secrets-manager-component.adoc
+++
b/components/camel-aws/camel-aws-secrets-manager/src/main/docs/aws-secrets-manager-component.adoc
@@ -83,6 +83,24 @@ camel.vault.aws.defaultCredentialsProvider = true
camel.vault.aws.region = region
----
+It is also possible to specify a particular profile name for accessing AWS
Secrets Manager
+
+[source,bash]
+----
+export $CAMEL_VAULT_AWS_USE_PROFILE_CREDENTIALS_PROVIDER=true
+export $CAMEL_VAULT_AWS_PROFILE_NAME=test-account
+export $CAMEL_VAULT_AWS_REGION=region
+----
+
+You can also configure the credentials in the `application.properties` file
such as:
+
+[source,properties]
+----
+camel.vault.aws.profileCredentialsProvider = true
+camel.vault.aws.profileName = test-account
+camel.vault.aws.region = region
+----
+
At this point you'll be able to reference a property in the following way:
[source,xml]