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/03 07:35:34 UTC

[camel-kamelets] 01/04: Azure Storage Blob Kamelets should specify which kind of credentials to use

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

acosentino pushed a commit to branch 0.9.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 82dc9613c67fd037a1446c637f7f3686110e74b5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Oct 3 09:28:13 2022 +0200

    Azure Storage Blob Kamelets should specify which kind of credentials to use
---
 kamelets/azure-storage-blob-source.kamelet.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/kamelets/azure-storage-blob-source.kamelet.yaml b/kamelets/azure-storage-blob-source.kamelet.yaml
index eac00186..c7fb337c 100644
--- a/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -62,6 +62,11 @@ spec:
         x-descriptors:
         - urn:alm:descriptor:com.tectonic.ui:password
         - urn:camel:group:credentials
+      credentialType:
+        title: Credential Type
+        description: Determines the credential strategy to adopt. Possible values are SHARED_ACCOUNT_KEY, SHARED_KEY_CREDENTIAL and AZURE_IDENTITY
+        type: string
+        default: SHARED_ACCOUNT_KEY
   dependencies:
     - "camel:azure-storage-blob"
     - "camel:kamelet"
@@ -79,6 +84,7 @@ spec:
           parameters:
             operation: "listBlobs"
             accessKey: "{{accessKey}}"
+            credentialType: "{{credentialType}}"
       - split:
           jsonpath: "$.*"
           steps: