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 2022/02/15 13:31:39 UTC
[camel] branch main updated: Removing documentation of using property placeholder for AWS
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 201be2e Removing documentation of using property placeholder for AWS
201be2e is described below
commit 201be2e293dbb66f8121933f89be99c5e158c9d9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 15 14:30:45 2022 +0100
Removing documentation of using property placeholder for AWS
---
.../ROOT/pages/using-propertyplaceholder.adoc | 28 ----------------------
1 file changed, 28 deletions(-)
diff --git a/docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc b/docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc
index a533e98..c5b1f14 100644
--- a/docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc
+++ b/docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc
@@ -403,7 +403,6 @@ The xref:components::properties-component.adoc[Properties] component includes th
* `service` - A function to lookup the property from OS environment variables using the service naming idiom
* `service.name` - A function to lookup the property from OS environment variables using the service naming idiom returning the hostname part only
* `service.port` - A function to lookup the property from OS environment variables using the service naming idiom returning the port part only
-* `aws` - A function to lookup the property from AWS Secrets Manager service.
These functions are intended to make it easy to lookup values from the environment, as shown in the example below:
@@ -469,33 +468,6 @@ And we can use default values if the service has not been defined, for example t
</camelContext>
----
-=== Using AWS Secrets Manager Property Function
-
-To use this function you'll need to provide credentials to AWS Secrets Manager Service as environment variables:
-
-[source,bash]
-----
-export $AWS_ACCESS_KEY=accessKey
-export $AWS_SECRET_KEY=secretKey
-export $AWS_REGION=region
-----
-
-At this point you'll be able to reference a property in the following way:
-
-[source,xml]
-----
-<camelContext>
- <route>
- <from uri="direct:start"/>
- <to uri="{{aws:route}}"/>
- </route>
-</camelContext>
-----
-
-Where route will be the name of the secret stored in the AWS Secrets Manager Service.
-
-For the moment we are not considering the rotation function, if any will be applied, but it is in the work to be done.
-
=== Using custom property placeholder functions
The xref:components::properties-component.adoc[Properties] component allow to plugin 3rd party functions which can be used during parsing of the property placeholders.