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:05:35 UTC

[camel-kamelets] branch 0.7.x updated (2c8256c -> d5e7353)

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

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


    from 2c8256c  Regen
     new 87e4fed  Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Streaming upload
     new f7c98b1  Support DefaultCredentialProvider in the AWS Kamelets - AWS S3 Streaming upload
     new e412abb  Support DefaultCredentialProvider in the AWS Kamelets - AWS Secrets Manager
     new 8d5cd92  Support DefaultCredentialProvider in the AWS Kamelets - AWS Secrets Manager
     new 8b4b5fb  Support DefaultCredentialProvider in the AWS Kamelets - AWS SES
     new 2d9166f  Support DefaultCredentialProvider in the AWS Kamelets - AWS SES
     new ef3ef27  Support DefaultCredentialProvider in the AWS Kamelets - docs
     new 3b37283  Support DefaultCredentialProvider in the AWS Kamelets - docs
     new 2398ea5  Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS Fifo
     new 6b6d863  Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS Fifo
     new f1f702b  Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS
     new d5e7353  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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit d5e73530f4675d7c5bd19e8a4257cffa7280b671
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 aea855f..e349876 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 6b6d86305c08d855fd0457ac9d436a2c9758f2f6
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 2c176ad..e139d12 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8d5cd9279faaa41b482b596db5d477231b002103
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 9a4addd..510235c 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit ef3ef27727ba8210f02ed8278561b8a8776d54a7
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 6e91a07..74718b5 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 6f2bd82..56257d8 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 9db1c2e..99443fa 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 3156fd3..1e0b117 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 510235c..f246e4a 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit e412abb42ff2fe3be293591330f8f866ffaa8fc3
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 9a4addd..510235c 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"

[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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit f7c98b1dc4d12a191e0aae795ce5324d37794139
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 8cb09fd..3156fd3 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 3b37283d0f5a11262fdb3ad4dba0e85cadad5657
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 6e91a07..74718b5 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 6f2bd82..56257d8 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 9db1c2e..99443fa 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 3156fd3..1e0b117 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 510235c..f246e4a 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 87e4fedf206341d53b7ff31af747732bac94ea90
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 8cb09fd..3156fd3 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 8b4b5fb9d664d4c8be550b4b0534fa3400202062
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 1330b4e..4ae3f63 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit f1f702bd2afb7cac54f6bf28e9b560f7c4fd449b
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 aea855f..e349876 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 2398ea55cdbab3718e6dd06168aa436515a5ffb1
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 2c176ad..e139d12 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] 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 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 2d9166f922cabfcfa338b647f5d8ed57cec4241f
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 1330b4e..4ae3f63 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}}"