You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/04/07 06:01:36 UTC

[camel] 03/04: CAMEL-18625 - Updated Docs

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 379e699c469979dc6b95e20d3042240db26739e4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Apr 7 07:56:20 2023 +0200

    CAMEL-18625 - Updated Docs
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../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]