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 cd1681db214 CAMEL-21360 - Camel Spring Boot: Vault early resolving
properties documentation - AWS Secrets Manager (#15994)
cd1681db214 is described below
commit cd1681db21474a2b5bcb74443177331d3ba9346a
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Oct 17 14:42:43 2024 +0200
CAMEL-21360 - Camel Spring Boot: Vault early resolving properties
documentation - AWS Secrets Manager (#15994)
Signed-off-by: Andrea Cosentino <[email protected]>
---
.../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 dcd1da70258..11b59cc04b2 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
@@ -370,3 +370,21 @@ where `$\{camel-version}` must be replaced by the actual
version of Camel.
include::spring-boot:partial$starter.adoc[]
+
+=== Using AWS Secrets Manager Property Function in Spring Boot for Early
resolving properties
+
+AWS Secrets Manager Spring Boot component starter offers the ability to early
resolve properties, so the end user could resolve properties directly in the
application.properties before both Spring Boot runtime and Camel context will
start.
+
+This could be accomplished in the following way. You should specified this
property in your application.properties file:
+
+[source,bash]
+----
+camel.component.aws-secrets-manager.early-resolve-properties=true
+----
+
+This will enable the feature so you'll be able to resolved properties, in your
application.properties file, like:
+
+[source,bash]
+----
+foo = aws:database/prod#password
+----