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 749b8b0018159f7f0120bd3f98b20ba8b83f32f5 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]
