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/02/04 14:01:49 UTC

[camel-kamelets] branch main updated (c1aa298 -> 26c74f8)

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

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


    from c1aa298  Support DefaultCredentialProvider in the AWS Kamelets - AWS Lambda
     new 23b18cc  Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Streaming upload
     new fedad74  Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Streaming upload
     new 7933e85  Support DefaultCredentialProvider in the AWS Kamelets - AWS Secrets Manager
     new 6fbcc26  Support DefaultCredentialProvider in the AWS Kamelets - AWS Secrets Manager
     new baa0979  Support DefaultCredentialProvider in the AWS Kamelets - AWS SES
     new 5cb7ce0  Support DefaultCredentialProvider in the AWS Kamelets - AWS SES
     new 1ab41db  Support DefaultCredentialProvider in the AWS Kamelets - docs
     new 19e5025  Support DefaultCredentialProvider in the AWS Kamelets - docs
     new c5a9859  Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS Fifo
     new 2daf76d  Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS Fifo
     new 2119dbb  Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS
     new 26c74f8  Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS

The 12 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 kamelets/aws-kinesis-sink.kamelet.yaml             |  2 +-
 kamelets/aws-kinesis-source.kamelet.yaml           |  2 +-
 kamelets/aws-lambda-sink.kamelet.yaml              |  2 +-
 kamelets/aws-s3-streaming-upload-sink.kamelet.yaml | 18 ++++++++++++----
 kamelets/aws-secrets-manager-sink.kamelet.yaml     | 20 ++++++++++++-----
 kamelets/aws-ses-sink.kamelet.yaml                 | 18 ++++++++++++----
 kamelets/aws-sns-fifo-sink.kamelet.yaml            | 25 ++++++++++++++++------
 kamelets/aws-sns-sink.kamelet.yaml                 | 20 ++++++++++++-----
 .../kamelets/aws-kinesis-sink.kamelet.yaml         |  2 +-
 .../kamelets/aws-kinesis-source.kamelet.yaml       |  2 +-
 .../kamelets/aws-lambda-sink.kamelet.yaml          |  2 +-
 .../aws-s3-streaming-upload-sink.kamelet.yaml      | 18 ++++++++++++----
 .../kamelets/aws-secrets-manager-sink.kamelet.yaml | 20 ++++++++++++-----
 .../resources/kamelets/aws-ses-sink.kamelet.yaml   | 18 ++++++++++++----
 .../kamelets/aws-sns-fifo-sink.kamelet.yaml        | 25 ++++++++++++++++------
 .../resources/kamelets/aws-sns-sink.kamelet.yaml   | 20 ++++++++++++-----
 16 files changed, 158 insertions(+), 56 deletions(-)

[camel-kamelets] 04/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS Secrets Manager

Posted by ac...@apache.org.
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-kamelets.git

commit 6fbcc2680aaa9864725a15cc5ddaf000305b8cef
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:46:50 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS Secrets Manager
---
 .../kamelets/aws-secrets-manager-sink.kamelet.yaml   | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
index bd19135..ab5c8a4 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
@@ -31,7 +31,11 @@ spec:
   definition:
     title: "AWS Secrets Manager Sink"
     description: |-
-      Create a secret in AWS Secrets Manager
+      Create a secret in AWS Secrets Manager.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS Secrets Manager Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the Secrets Manager client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
 
       The Kamelet expects the following headers to be set:
 
@@ -39,8 +43,6 @@ spec:
 
       If the header won't be set the exchange ID will be used as secret name.
     required:
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -65,6 +67,13 @@ spec:
         description: The AWS region to connect to.
         type: string
         example: eu-west-1
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:core"
     - "camel:aws-secrets-manager"
@@ -93,7 +102,8 @@ spec:
       - to:
           uri: "aws-secrets-manager:kamelet"
           parameters:
-            secretKey: "{{secretKey}}"
-            accessKey: "{{accessKey}}"
+            secretKey: "{{?secretKey}}"
+            accessKey: "{{?accessKey}}"
             region: "{{region}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
             operation: "createSecret"

[camel-kamelets] 06/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS SES

Posted by ac...@apache.org.
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-kamelets.git

commit 5cb7ce06a422264e26bc578be778cc6cd6979f42
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:51:04 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS SES
---
 .../main/resources/kamelets/aws-ses-sink.kamelet.yaml  | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
index 53ee0bb..54e847f 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
@@ -33,6 +33,10 @@ spec:
     description: |-
       Send Email through AWS SES Service.
 
+      Access Key/Secret Key are the basic method for authenticating to the AWS SES Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the SES client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
+
       The Kamelet expects the following headers to be set:
 
       - `subject` / `ce-subject`: The email subject
@@ -45,8 +49,6 @@ spec:
 
     required:
       - from
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -76,6 +78,13 @@ spec:
         description: The AWS region to connect to.
         type: string
         example: eu-west-1
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the SES client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:core"
     - "camel:aws2-ses"
@@ -128,6 +137,7 @@ spec:
       - to:
           uri: "aws2-ses://{{from}}"
           parameters:
-            secretKey: "{{secretKey}}"
-            accessKey: "{{accessKey}}"
+            secretKey: "{{?secretKey}}"
+            accessKey: "{{?accessKey}}"
             region: "{{region}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"

[camel-kamelets] 09/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS Fifo

Posted by ac...@apache.org.
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-kamelets.git

commit c5a98595587aa0062285c07c94a751f77ba0b9f3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:54:51 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS Fifo
---
 kamelets/aws-sns-fifo-sink.kamelet.yaml | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/kamelets/aws-sns-fifo-sink.kamelet.yaml b/kamelets/aws-sns-fifo-sink.kamelet.yaml
index 23862bd..c49d68b 100644
--- a/kamelets/aws-sns-fifo-sink.kamelet.yaml
+++ b/kamelets/aws-sns-fifo-sink.kamelet.yaml
@@ -31,15 +31,17 @@ spec:
   definition:
     title: AWS SNS FIFO Sink
     description: |- 
-      Send message to an AWS SNS FIFO Topic
+      Send message to an AWS SNS FIFO Topic.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS SNS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the SNS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
 
       The Kamelet expects the following headers to be set:
 
       - `subject` / `ce-subject`: the subject of the message
     required:
       - topicNameOrArn
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -82,6 +84,13 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
   - "camel:aws2-sns"
   - "camel:core"
@@ -130,9 +139,10 @@ spec:
                 uri: "aws2-sns:{{topicNameOrArn}}"
                 parameters:
                   autoCreateTopic: "{{autoCreateTopic}}"
-                  accessKey: "{{accessKey}}"
-                  secretKey: "{{secretKey}}"
+                  accessKey: "{{?accessKey}}"
+                  secretKey: "{{?secretKey}}"
                   region: "{{region}}"
+                  useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
                   messageGroupIdStrategy: "usePropertyValue"
                   messageDeduplicationIdStrategy: "useContentBasedDeduplication"
           otherwise:
@@ -141,8 +151,9 @@ spec:
                 uri: "aws2-sns:{{topicNameOrArn}}"
                 parameters:
                   autoCreateTopic: "{{autoCreateTopic}}"
-                  accessKey: "{{accessKey}}"
-                  secretKey: "{{secretKey}}"
+                  accessKey: "{{?accessKey}}"
+                  secretKey: "{{?secretKey}}"
                   region: "{{region}}"
+                  useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
                   messageGroupIdStrategy: "usePropertyValue"
                   messageDeduplicationIdStrategy: "useExchangeId"

[camel-kamelets] 01/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Streaming upload

Posted by ac...@apache.org.
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-kamelets.git

commit 23b18cc1cd6ed4d0a760fe2c6d5011e23da77015
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:39:28 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Streaming upload
---
 kamelets/aws-s3-streaming-upload-sink.kamelet.yaml | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml b/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
index 206a29a..0b6e3c4 100644
--- a/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
+++ b/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
@@ -32,10 +32,12 @@ spec:
     title: "AWS S3 Streaming upload Sink"
     description: |-
       Upload data to AWS S3 in streaming upload mode.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS S3 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the S3 client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
     required:
       - bucketNameOrArn
-      - accessKey
-      - secretKey
       - region
       - keyName
     type: object
@@ -107,6 +109,13 @@ spec:
         title: Key Name
         description: Setting the key name for an element in the bucket through endpoint parameter. In Streaming Upload, with the default configuration, this will be the base for the progressive creation of files.
         type: string
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:aws2-s3"
     - "camel:kamelet"
@@ -117,8 +126,8 @@ spec:
       - to:
           uri: "aws2-s3:{{bucketNameOrArn}}"
           parameters:
-            secretKey: "{{secretKey}}"
-            accessKey: "{{accessKey}}"
+            secretKey: "{{?secretKey}}"
+            accessKey: "{{?accessKey}}"
             region: "{{region}}"
             autoCreateBucket: "{{autoCreateBucket}}"
             streamingUploadMode: "{{streamingUploadMode}}"
@@ -128,4 +137,5 @@ spec:
             namingStrategy: "{{namingStrategy}}"
             keyName: "{{keyName}}"
             streamingUploadTimeout: "{{?streamingUploadTimeout}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
 

[camel-kamelets] 08/12: Support DefaultCredentialProvider in the AWS Kamelets - docs

Posted by ac...@apache.org.
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-kamelets.git

commit 19e502509f8f0a831ac0ec1e6ae6566da5bee25d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:52:49 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - docs
---
 .../src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml           | 2 +-
 .../src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml         | 2 +-
 .../src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml            | 2 +-
 .../main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml   | 2 +-
 .../src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml
index bfbea53..0cb489a 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml
@@ -80,7 +80,7 @@ spec:
         example: eu-west-1
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the Kinesis client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
index 09b5df9..4322039 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
@@ -68,7 +68,7 @@ spec:
         example: eu-west-1
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the Kinesis client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml
index f201cb5..7af022e 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml
@@ -68,7 +68,7 @@ spec:
         example: eu-west-1
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the Lambda client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
index 0b6e3c4..673ba2f 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
@@ -111,7 +111,7 @@ spec:
         type: string
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
index ab5c8a4..8488033 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
@@ -69,7 +69,7 @@ spec:
         example: eu-west-1
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the Secrets Manager client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'

[camel-kamelets] 07/12: Support DefaultCredentialProvider in the AWS Kamelets - docs

Posted by ac...@apache.org.
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-kamelets.git

commit 1ab41db32d40491e2f2d66f8b52206beebc72478
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:52:12 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - docs
---
 kamelets/aws-kinesis-sink.kamelet.yaml             | 2 +-
 kamelets/aws-kinesis-source.kamelet.yaml           | 2 +-
 kamelets/aws-lambda-sink.kamelet.yaml              | 2 +-
 kamelets/aws-s3-streaming-upload-sink.kamelet.yaml | 2 +-
 kamelets/aws-secrets-manager-sink.kamelet.yaml     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/kamelets/aws-kinesis-sink.kamelet.yaml b/kamelets/aws-kinesis-sink.kamelet.yaml
index bfbea53..0cb489a 100644
--- a/kamelets/aws-kinesis-sink.kamelet.yaml
+++ b/kamelets/aws-kinesis-sink.kamelet.yaml
@@ -80,7 +80,7 @@ spec:
         example: eu-west-1
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the Kinesis client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
diff --git a/kamelets/aws-kinesis-source.kamelet.yaml b/kamelets/aws-kinesis-source.kamelet.yaml
index 09b5df9..4322039 100644
--- a/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/kamelets/aws-kinesis-source.kamelet.yaml
@@ -68,7 +68,7 @@ spec:
         example: eu-west-1
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the Kinesis client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
diff --git a/kamelets/aws-lambda-sink.kamelet.yaml b/kamelets/aws-lambda-sink.kamelet.yaml
index f201cb5..7af022e 100644
--- a/kamelets/aws-lambda-sink.kamelet.yaml
+++ b/kamelets/aws-lambda-sink.kamelet.yaml
@@ -68,7 +68,7 @@ spec:
         example: eu-west-1
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the Lambda client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
diff --git a/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml b/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
index 0b6e3c4..673ba2f 100644
--- a/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
+++ b/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
@@ -111,7 +111,7 @@ spec:
         type: string
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
diff --git a/kamelets/aws-secrets-manager-sink.kamelet.yaml b/kamelets/aws-secrets-manager-sink.kamelet.yaml
index ab5c8a4..8488033 100644
--- a/kamelets/aws-secrets-manager-sink.kamelet.yaml
+++ b/kamelets/aws-secrets-manager-sink.kamelet.yaml
@@ -69,7 +69,7 @@ spec:
         example: eu-west-1
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
-        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        description: Set whether the Secrets Manager client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
         type: boolean
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'

[camel-kamelets] 12/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS

Posted by ac...@apache.org.
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-kamelets.git

commit 26c74f8b85093446c7cf8e87441262c30372622d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:57:36 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS
---
 .../resources/kamelets/aws-sns-sink.kamelet.yaml     | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml
index 99a9ebd..3a01ddf 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml
@@ -31,15 +31,17 @@ spec:
   definition:
     title: AWS SNS Sink
     description: |-
-      Send message to an AWS SNS Topic
+      Send message to an AWS SNS Topic.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS SNS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the SNS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
 
       The Kamelet expects the following headers to be set:
 
       - `subject` / `ce-subject`: the subject of the message
     required:
       - topicNameOrArn
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -75,6 +77,13 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:core"
     - "camel:aws2-sns"
@@ -99,6 +108,7 @@ spec:
           uri: "aws2-sns:{{topicNameOrArn}}"
           parameters:
             autoCreateTopic: "{{autoCreateTopic}}"
-            accessKey: "{{accessKey}}"
-            secretKey: "{{secretKey}}"
+            accessKey: "{{?accessKey}}"
+            secretKey: "{{?secretKey}}"
             region: "{{region}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"

[camel-kamelets] 11/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS

Posted by ac...@apache.org.
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-kamelets.git

commit 2119dbbab69c4fcac756ffa4a781e76dd6aca368
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:57:18 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS
---
 kamelets/aws-sns-sink.kamelet.yaml | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/kamelets/aws-sns-sink.kamelet.yaml b/kamelets/aws-sns-sink.kamelet.yaml
index 99a9ebd..3a01ddf 100644
--- a/kamelets/aws-sns-sink.kamelet.yaml
+++ b/kamelets/aws-sns-sink.kamelet.yaml
@@ -31,15 +31,17 @@ spec:
   definition:
     title: AWS SNS Sink
     description: |-
-      Send message to an AWS SNS Topic
+      Send message to an AWS SNS Topic.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS SNS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the SNS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
 
       The Kamelet expects the following headers to be set:
 
       - `subject` / `ce-subject`: the subject of the message
     required:
       - topicNameOrArn
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -75,6 +77,13 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:core"
     - "camel:aws2-sns"
@@ -99,6 +108,7 @@ spec:
           uri: "aws2-sns:{{topicNameOrArn}}"
           parameters:
             autoCreateTopic: "{{autoCreateTopic}}"
-            accessKey: "{{accessKey}}"
-            secretKey: "{{secretKey}}"
+            accessKey: "{{?accessKey}}"
+            secretKey: "{{?secretKey}}"
             region: "{{region}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"

[camel-kamelets] 05/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS SES

Posted by ac...@apache.org.
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-kamelets.git

commit baa0979940a0756fc753b7327d98f570d66f9cd9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:50:23 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS SES
---
 kamelets/aws-ses-sink.kamelet.yaml | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/kamelets/aws-ses-sink.kamelet.yaml b/kamelets/aws-ses-sink.kamelet.yaml
index 53ee0bb..54e847f 100644
--- a/kamelets/aws-ses-sink.kamelet.yaml
+++ b/kamelets/aws-ses-sink.kamelet.yaml
@@ -33,6 +33,10 @@ spec:
     description: |-
       Send Email through AWS SES Service.
 
+      Access Key/Secret Key are the basic method for authenticating to the AWS SES Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the SES client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
+
       The Kamelet expects the following headers to be set:
 
       - `subject` / `ce-subject`: The email subject
@@ -45,8 +49,6 @@ spec:
 
     required:
       - from
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -76,6 +78,13 @@ spec:
         description: The AWS region to connect to.
         type: string
         example: eu-west-1
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the SES client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:core"
     - "camel:aws2-ses"
@@ -128,6 +137,7 @@ spec:
       - to:
           uri: "aws2-ses://{{from}}"
           parameters:
-            secretKey: "{{secretKey}}"
-            accessKey: "{{accessKey}}"
+            secretKey: "{{?secretKey}}"
+            accessKey: "{{?accessKey}}"
             region: "{{region}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"

[camel-kamelets] 10/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS Fifo

Posted by ac...@apache.org.
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-kamelets.git

commit 2daf76d0db79ecae142ce0c96c6accd7e34eda73
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:55:44 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS Fifo
---
 .../kamelets/aws-sns-fifo-sink.kamelet.yaml        | 25 ++++++++++++++++------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml
index 23862bd..c49d68b 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml
@@ -31,15 +31,17 @@ spec:
   definition:
     title: AWS SNS FIFO Sink
     description: |- 
-      Send message to an AWS SNS FIFO Topic
+      Send message to an AWS SNS FIFO Topic.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS SNS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the SNS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
 
       The Kamelet expects the following headers to be set:
 
       - `subject` / `ce-subject`: the subject of the message
     required:
       - topicNameOrArn
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -82,6 +84,13 @@ spec:
         x-descriptors:
         - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
         default: false
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
   - "camel:aws2-sns"
   - "camel:core"
@@ -130,9 +139,10 @@ spec:
                 uri: "aws2-sns:{{topicNameOrArn}}"
                 parameters:
                   autoCreateTopic: "{{autoCreateTopic}}"
-                  accessKey: "{{accessKey}}"
-                  secretKey: "{{secretKey}}"
+                  accessKey: "{{?accessKey}}"
+                  secretKey: "{{?secretKey}}"
                   region: "{{region}}"
+                  useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
                   messageGroupIdStrategy: "usePropertyValue"
                   messageDeduplicationIdStrategy: "useContentBasedDeduplication"
           otherwise:
@@ -141,8 +151,9 @@ spec:
                 uri: "aws2-sns:{{topicNameOrArn}}"
                 parameters:
                   autoCreateTopic: "{{autoCreateTopic}}"
-                  accessKey: "{{accessKey}}"
-                  secretKey: "{{secretKey}}"
+                  accessKey: "{{?accessKey}}"
+                  secretKey: "{{?secretKey}}"
                   region: "{{region}}"
+                  useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
                   messageGroupIdStrategy: "usePropertyValue"
                   messageDeduplicationIdStrategy: "useExchangeId"

[camel-kamelets] 02/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Streaming upload

Posted by ac...@apache.org.
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-kamelets.git

commit fedad7431c37d433f1b435ab99e05b0388d6983e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:40:53 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Streaming upload
---
 .../kamelets/aws-s3-streaming-upload-sink.kamelet.yaml | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
index 206a29a..0b6e3c4 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
@@ -32,10 +32,12 @@ spec:
     title: "AWS S3 Streaming upload Sink"
     description: |-
       Upload data to AWS S3 in streaming upload mode.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS S3 Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the S3 client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
     required:
       - bucketNameOrArn
-      - accessKey
-      - secretKey
       - region
       - keyName
     type: object
@@ -107,6 +109,13 @@ spec:
         title: Key Name
         description: Setting the key name for an element in the bucket through endpoint parameter. In Streaming Upload, with the default configuration, this will be the base for the progressive creation of files.
         type: string
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:aws2-s3"
     - "camel:kamelet"
@@ -117,8 +126,8 @@ spec:
       - to:
           uri: "aws2-s3:{{bucketNameOrArn}}"
           parameters:
-            secretKey: "{{secretKey}}"
-            accessKey: "{{accessKey}}"
+            secretKey: "{{?secretKey}}"
+            accessKey: "{{?accessKey}}"
             region: "{{region}}"
             autoCreateBucket: "{{autoCreateBucket}}"
             streamingUploadMode: "{{streamingUploadMode}}"
@@ -128,4 +137,5 @@ spec:
             namingStrategy: "{{namingStrategy}}"
             keyName: "{{keyName}}"
             streamingUploadTimeout: "{{?streamingUploadTimeout}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
 

[camel-kamelets] 03/12: Support DefaultCredentialProvider in the AWS Kamelets - AWS Secrets Manager

Posted by ac...@apache.org.
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-kamelets.git

commit 7933e853661c397c1f0e833cc41118ac9dbbc16a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 4 14:45:43 2022 +0100

    Support DefaultCredentialProvider in the AWS Kamelets - AWS Secrets Manager
---
 kamelets/aws-secrets-manager-sink.kamelet.yaml | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/kamelets/aws-secrets-manager-sink.kamelet.yaml b/kamelets/aws-secrets-manager-sink.kamelet.yaml
index bd19135..ab5c8a4 100644
--- a/kamelets/aws-secrets-manager-sink.kamelet.yaml
+++ b/kamelets/aws-secrets-manager-sink.kamelet.yaml
@@ -31,7 +31,11 @@ spec:
   definition:
     title: "AWS Secrets Manager Sink"
     description: |-
-      Create a secret in AWS Secrets Manager
+      Create a secret in AWS Secrets Manager.
+
+      Access Key/Secret Key are the basic method for authenticating to the AWS Secrets Manager Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'.
+      
+      When using a default Credentials Provider the Secrets Manager client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet.
 
       The Kamelet expects the following headers to be set:
 
@@ -39,8 +43,6 @@ spec:
 
       If the header won't be set the exchange ID will be used as secret name.
     required:
-      - accessKey
-      - secretKey
       - region
     type: object
     properties:
@@ -65,6 +67,13 @@ spec:
         description: The AWS region to connect to.
         type: string
         example: eu-west-1
+      useDefaultCredentialsProvider:
+        title: Default Credentials Provider
+        description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
+        type: boolean
+        x-descriptors:
+        - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+        default: false
   dependencies:
     - "camel:core"
     - "camel:aws-secrets-manager"
@@ -93,7 +102,8 @@ spec:
       - to:
           uri: "aws-secrets-manager:kamelet"
           parameters:
-            secretKey: "{{secretKey}}"
-            accessKey: "{{accessKey}}"
+            secretKey: "{{?secretKey}}"
+            accessKey: "{{?accessKey}}"
             region: "{{region}}"
+            useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
             operation: "createSecret"