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 748dba1af70f1858f4c159161ba888239124faf0 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Aug 27 08:54:39 2020 +0200 CAMEL-15374 - Added getFederationToken docs and example --- .../camel-aws2-sts/src/main/docs/aws2-sts-component.adoc | 10 ++++++++++ 1 file changed, 10 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 872c8d3..715e0d4 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 @@ -131,6 +131,7 @@ Camel-AWS STS component provides the following operation on the producer side: - assumeRole - getSessionToken +- getFedeationToken == Producer Examples @@ -152,6 +153,15 @@ from("direct:getSessionToken") .to("aws2-sts://test?stsClient=#amazonSTSClient&operation=getSessionToken") -------------------------------------------------------------------------------- +- getFederationToken: this operation will return a temporary federation token + +[source,java] +-------------------------------------------------------------------------------- +from("direct:getFederationToken") + .setHeader(STS2Constants.FEDERATED_NAME, constant("federation-account")) + .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.