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

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 0370bc7  Regen
0370bc7 is described below

commit 0370bc71394616c407048594bd840f93a11f23f5
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Fri Aug 7 06:45:26 2020 +0200

    Regen
---
 .../org/apache/camel/catalog/docs/aws2-sts-component.adoc     | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-sts-component.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-sts-component.adoc
index c99f9a9..a5b47cc 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-sts-component.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-sts-component.adoc
@@ -130,6 +130,7 @@ The AWS2 STS component works on the aws-global region and 
it has aws-global as d
 Camel-AWS STS component provides the following operation on the producer side:
 
 - assumeRole
+- getSessionToken
 
 == Producer Examples
 
@@ -137,12 +138,20 @@ Camel-AWS STS component provides the following operation 
on the producer side:
 
 [source,java]
 
--------------------------------------------------------------------------------
-from("direct:createUser")
+from("direct:assumeRole")
     .setHeader(STS2Constants.ROLE_ARN, constant("arn:123"))
     .setHeader(STS2Constants.ROLE_SESSION_NAME, constant("groot"))
     .to("aws2-sts://test?stsClient=#amazonSTSClient&operation=assumeRole")
 
--------------------------------------------------------------------------------
 
+- getSessionToken: this operation will return a temporary session token
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:getSessionToken")
+    .to("aws2-sts://test?stsClient=#amazonSTSClient&operation=getSessionToken")
+--------------------------------------------------------------------------------
+
 == Automatic detection of StsClient client in registry
 
 The component is capable of detecting the presence of an StsClient bean into 
the registry.

Reply via email to