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 c17ac3cdb66 CAMEL-18625 - Updated Docs
c17ac3cdb66 is described below
commit c17ac3cdb665dbcded4066d16ea5596ed499abc7
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Apr 7 08:00:22 2023 +0200
CAMEL-18625 - Updated Docs
Signed-off-by: Andrea Cosentino <[email protected]>
---
docs/user-manual/modules/ROOT/pages/security.adoc | 34 +++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/security.adoc
b/docs/user-manual/modules/ROOT/pages/security.adoc
index cae20f6713d..e749620a357 100644
--- a/docs/user-manual/modules/ROOT/pages/security.adoc
+++ b/docs/user-manual/modules/ROOT/pages/security.adoc
@@ -89,6 +89,40 @@ camel.vault.aws.secretKey = secretKey
camel.vault.aws.region = region
----
+If you want instead to use the
https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials.html[AWS
default credentials provider], you'll need to provide the following env
variables:
+
+[source,bash]
+----
+export $CAMEL_VAULT_AWS_USE_DEFAULT_CREDENTIALS_PROVIDER=true
+export $CAMEL_VAULT_AWS_REGION=region
+----
+
+You can also configure the credentials in the `application.properties` file
such as:
+
+[source,properties]
+----
+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 by
using `aws:` as prefix in the `{{ }}` syntax:
[source,xml]