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 2022/10/26 07:55:42 UTC
[camel-kamelets] 02/03: Google Functions: use base64 for service account key
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch backport-0.9.2
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit e9702306aecc10c49c8bffad624cb2503b21d1dd
Author: Rinaldo Pitzer JĂșnior <16...@users.noreply.github.com>
AuthorDate: Tue Oct 25 18:32:23 2022 -0300
Google Functions: use base64 for service account key
---
kamelets/google-functions-sink.kamelet.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/kamelets/google-functions-sink.kamelet.yaml b/kamelets/google-functions-sink.kamelet.yaml
index 08e6bb9e..89d45988 100644
--- a/kamelets/google-functions-sink.kamelet.yaml
+++ b/kamelets/google-functions-sink.kamelet.yaml
@@ -52,8 +52,8 @@ spec:
type: string
serviceAccountKey:
title: Service Account Key
- description: The path to the service account key file that provides credentials for the Google Cloud Functions platform.
- type: string
+ description: The path to the service account key file that provides credentials for the Google Cloud Functions platform. You must encode this value in base64.
+ type: binary
x-descriptors:
- urn:camel:group:credentials
dependencies:
@@ -67,6 +67,6 @@ spec:
- to:
uri: "google-functions://{{functionName}}"
parameters:
- serviceAccountKey: "{{serviceAccountKey}}"
+ serviceAccountKey: "base64:{{serviceAccountKey}}"
project: "{{projectId}}"
location: "{{region}}"