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 <anco...@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 <anco...@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).

Reply via email to