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 2024/10/23 10:39:15 UTC

(camel) 01/01: CAMEL-21330 - Camel-AWS-Secrets-Manager: Support Properties Function with Localstack

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

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

commit 61efe793a9d36acd3bb26582b5f4c438d7238cd6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 23 12:38:19 2024 +0200

    CAMEL-21330 - Camel-AWS-Secrets-Manager: Support Properties Function with Localstack
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/docs/aws-secrets-manager-component.adoc         | 12 ++++++++++++
 1 file changed, 12 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 11b59cc04b2..5928786ad71 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
@@ -236,6 +236,18 @@ For the moment we are not considering the rotation function if any are applied,
 
 The only requirement is adding the camel-aws-secrets-manager jar to your Camel application.
 
+=== Testing AWS Secrets Manager Property Function with Localstack
+
+For testing purpose you might want to test the function on Localstack. To make this easier you can use the following two properties in combination with the others:
+
+[source,properties]
+----
+camel.vault.aws.overrideEndpoint = true
+camel.vault.aws.uriEndpointOverride = <localstack_url>
+----
+
+With this you could be able to retrieve secret with the function directly from the Localstack instance.
+
 === Automatic Camel context reloading on Secret Refresh
 
 Being able to reload Camel context on a Secret Refresh could be done by specifying the usual credentials (the same used for AWS Secret Manager Property Function).