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 828a05b920ddfda80cb39cd191876202657ff2a5 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Aug 3 14:38:23 2020 +0200 Camel-AWS2-KMS: Better docs --- .../camel-aws2-kms/src/main/docs/aws2-kms-component.adoc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc b/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc index d020c0d..f9d8ebd 100644 --- a/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc +++ b/components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc @@ -161,7 +161,7 @@ from("direct:listKeys") [source,java] -------------------------------------------------------------------------------- -from("direct:listKeys") +from("direct:createKey") .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=createKey") -------------------------------------------------------------------------------- @@ -169,11 +169,20 @@ from("direct:listKeys") [source,java] -------------------------------------------------------------------------------- -from("direct:listKeys") +from("direct:disableKey") .setHeader(KMS2Constants.KEY_ID, constant("123") .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=disableKey") -------------------------------------------------------------------------------- +- enableKey: this operation will enable a key in KMS + +[source,java] +-------------------------------------------------------------------------------- +from("direct:enableKey") + .setHeader(KMS2Constants.KEY_ID, constant("123") + .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=enableKey") +-------------------------------------------------------------------------------- + == Automatic detection of KmsClient client in registry The component is capable of detecting the presence of an KmsClient bean into the registry.