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 3a92f9213f1e6bc4f0aad76958edfef0ccb7aea1
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Mon Aug 3 14:34:41 2020 +0200

    Camel-AWS2-KMS: Added disableKey example
---
 components/camel-aws2-kms/src/main/docs/aws2-kms-component.adoc | 9 +++++++++
 1 file changed, 9 insertions(+)

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 bbd37e7..d020c0d 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
@@ -165,6 +165,15 @@ from("direct:listKeys")
       .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=createKey")
 
--------------------------------------------------------------------------------
 
+- disableKey: this operation will disable a key in KMS
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:listKeys")
+      .setHeader(KMS2Constants.KEY_ID, constant("123")
+      .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=disableKey")
+--------------------------------------------------------------------------------
+
 == Automatic detection of KmsClient client in registry
 
 The component is capable of detecting the presence of an KmsClient bean into 
the registry.

Reply via email to