You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/08/03 12:43:00 UTC
[camel] 04/04: Regen website docs
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 357fe6e98d7ea96e6f2ab4a27315196477a3298c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 3 14:40:54 2020 +0200
Regen website docs
---
.../modules/ROOT/pages/aws2-kms-component.adoc | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/docs/components/modules/ROOT/pages/aws2-kms-component.adoc b/docs/components/modules/ROOT/pages/aws2-kms-component.adoc
index 70c92c2..429f018 100644
--- a/docs/components/modules/ROOT/pages/aws2-kms-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-kms-component.adoc
@@ -159,6 +159,32 @@ from("direct:listKeys")
.to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=listKeys")
--------------------------------------------------------------------------------
+- createKey: this operation will create a key in KMS
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:createKey")
+ .to("aws2-kms://test?kmsClient=#amazonKmsClient&operation=createKey")
+--------------------------------------------------------------------------------
+
+- disableKey: this operation will disable a key in KMS
+
+[source,java]
+--------------------------------------------------------------------------------
+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.