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

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

commit b985cd336764c07a683c43cd0218455011a86a68
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu Aug 6 08:48:22 2020 +0200

    Camel-AWS2-STS: added docs for getSessionToken
---
 components/camel-aws2-sts/src/main/docs/aws2-sts-component.adoc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/components/camel-aws2-sts/src/main/docs/aws2-sts-component.adoc 
b/components/camel-aws2-sts/src/main/docs/aws2-sts-component.adoc
index c99f9a9..409e1d7 100644
--- a/components/camel-aws2-sts/src/main/docs/aws2-sts-component.adoc
+++ b/components/camel-aws2-sts/src/main/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
 
@@ -143,6 +144,14 @@ from("direct:createUser")
     .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