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

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

commit bdaf651672ff72cb4a02012855e0d26fb6bcb7eb
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Feb 22 14:13:32 2022 +0100

    CAMEL-17691 - Camel Google Secret Manager: Add more operations - docs
---
 .../src/main/docs/google-secret-manager-component.adoc     | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git 
a/components/camel-google/camel-google-secrets-manager/src/main/docs/google-secret-manager-component.adoc
 
b/components/camel-google/camel-google-secrets-manager/src/main/docs/google-secret-manager-component.adoc
index 27b2747..2af2a08 100644
--- 
a/components/camel-google/camel-google-secrets-manager/src/main/docs/google-secret-manager-component.adoc
+++ 
b/components/camel-google/camel-google-secrets-manager/src/main/docs/google-secret-manager-component.adoc
@@ -96,5 +96,19 @@ Google Functions component provides the following operation 
on the producer side
 
 If you don't specify an operation by default the producer will use the 
`createSecret` operation.
 
+=== Google Secret Manager Producer Operation examples
+
+- createSecret: This operation will create a secret in the Secret Manager 
service
+
+[source,java]
+--------------------------------------------------------------------------------
+from("direct:start")
+    .setHeader("GoogleSecretManagerConstants.SECRET_ID, constant("test"))
+    .setBody(constant("hello"))
+    
.to("google-functions://myProject?serviceAccountKey=/home/user/Downloads/my-key.json&operation=createSecret")
+    .log("body:${body}")
+--------------------------------------------------------------------------------
+
+This will create a secret named "test" with a value of "hello".
 
 include::spring-boot:partial$starter.adoc[]

Reply via email to