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 2024/08/05 13:39:38 UTC

(camel-kamelets) branch 2131-part-2 created (now 2a6f6ad9)

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

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


      at 2a6f6ad9 AWS Kamelets: Support profile and session credentials provider out of the box - Lambda Sink

This branch includes the following new commits:

     new 5cb5028a AWS Kamelets: Support profile and session credentials provider out of the box - Eventbridge Sink
     new c21fca68 AWS Kamelets: Support profile and session credentials provider out of the box - Eventbridge Sink
     new 910f6711 AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Firehose
     new 4610c63a AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Firehose
     new 39df00d1 AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis
     new 392e82e5 AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis
     new 0771b572 AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Source
     new 80a88cba AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Source
     new 9904191f AWS Kamelets: Support profile and session credentials provider out of the box - Lambda Sink
     new 2a6f6ad9 AWS Kamelets: Support profile and session credentials provider out of the box - Lambda Sink

The 10 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.



(camel-kamelets) 05/10: AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 39df00d105b6b5ce04c17fbc87d907699d2dd597
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:32:12 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/aws-kinesis-sink.kamelet.yaml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/kamelets/aws-kinesis-sink.kamelet.yaml b/kamelets/aws-kinesis-sink.kamelet.yaml
index 9a9e61b2..ad853724 100644
--- a/kamelets/aws-kinesis-sink.kamelet.yaml
+++ b/kamelets/aws-kinesis-sink.kamelet.yaml
@@ -77,6 +77,27 @@ spec:
         description: If true, the Kinesis client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
         type: boolean
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Kinesis client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Kinesis client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Kinesis.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
       uriEndpointOverride:
         title: Overwrite Endpoint URI
         description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option.
@@ -133,5 +154,9 @@ spec:
             accessKey: "{{?accessKey}}"
             region: "{{region}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
             uriEndpointOverride: "{{?uriEndpointOverride}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"
             overrideEndpoint: "{{overrideEndpoint}}"


(camel-kamelets) 06/10: AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 392e82e5b34c575ba6f60adee095b701f833051c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:33:10 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../kamelets/aws-kinesis-sink.kamelet.yaml         | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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 9a9e61b2..ad853724 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
@@ -77,6 +77,27 @@ spec:
         description: If true, the Kinesis client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
         type: boolean
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Kinesis client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Kinesis client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Kinesis.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
       uriEndpointOverride:
         title: Overwrite Endpoint URI
         description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option.
@@ -133,5 +154,9 @@ spec:
             accessKey: "{{?accessKey}}"
             region: "{{region}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
             uriEndpointOverride: "{{?uriEndpointOverride}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"
             overrideEndpoint: "{{overrideEndpoint}}"


(camel-kamelets) 01/10: AWS Kamelets: Support profile and session credentials provider out of the box - Eventbridge Sink

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 5cb5028a06951c76ac9da0165f241e4ef329efee
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:25:03 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Eventbridge Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/aws-eventbridge-sink.kamelet.yaml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/kamelets/aws-eventbridge-sink.kamelet.yaml b/kamelets/aws-eventbridge-sink.kamelet.yaml
index 2f6a80f6..420f038e 100644
--- a/kamelets/aws-eventbridge-sink.kamelet.yaml
+++ b/kamelets/aws-eventbridge-sink.kamelet.yaml
@@ -78,6 +78,27 @@ spec:
         description: If true, the Eventbridge client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
         type: boolean
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Eventbridge client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Eventbridge client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Eventbridge.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
       uriEndpointOverride:
         title: Overwrite Endpoint URI
         description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option.
@@ -138,6 +159,10 @@ spec:
             accessKey: "{{?accessKey}}"
             region: "{{region}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
             uriEndpointOverride: "{{?uriEndpointOverride}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"
             overrideEndpoint: "{{overrideEndpoint}}"
             operation: "putEvent"


(camel-kamelets) 10/10: AWS Kamelets: Support profile and session credentials provider out of the box - Lambda Sink

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 2a6f6ad9a3fcabd25fda7475a083e05f138bb538
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:38:54 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Lambda Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../kamelets/aws-lambda-sink.kamelet.yaml          | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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 e9b465dd..f88c3232 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
@@ -70,6 +70,27 @@ spec:
         description: If true, the Lambda client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
         type: boolean
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Lambda client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Lambda client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Lambda.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
   dependencies:
     - "camel:aws2-lambda"
     - "camel:kamelet"
@@ -84,3 +105,7 @@ spec:
             secretKey: "{{?secretKey}}"
             region: "{{region}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"


(camel-kamelets) 03/10: AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Firehose

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 910f6711b03a5414f221154613785c37f185947b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:28:48 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Firehose
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/aws-kinesis-firehose-sink.kamelet.yaml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/kamelets/aws-kinesis-firehose-sink.kamelet.yaml b/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
index a62e97e9..dbd1edd9 100644
--- a/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
+++ b/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
@@ -70,6 +70,27 @@ spec:
         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
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Kinesis Firehose client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Kinesis Firehose client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Kinesis Firehose.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
       uriEndpointOverride:
         title: Overwrite Endpoint URI
         description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option.
@@ -93,5 +114,9 @@ spec:
             secretKey: "{{?secretKey}}"
             region: "{{region}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
             uriEndpointOverride: "{{?uriEndpointOverride}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"
             overrideEndpoint: "{{overrideEndpoint}}"


(camel-kamelets) 02/10: AWS Kamelets: Support profile and session credentials provider out of the box - Eventbridge Sink

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c21fca6873f6977d017ab79f5c4aa418b812cf54
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:26:00 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Eventbridge Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../kamelets/aws-eventbridge-sink.kamelet.yaml     | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
index 2f6a80f6..420f038e 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
@@ -78,6 +78,27 @@ spec:
         description: If true, the Eventbridge client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
         type: boolean
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Eventbridge client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Eventbridge client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Eventbridge.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
       uriEndpointOverride:
         title: Overwrite Endpoint URI
         description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option.
@@ -138,6 +159,10 @@ spec:
             accessKey: "{{?accessKey}}"
             region: "{{region}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
             uriEndpointOverride: "{{?uriEndpointOverride}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"
             overrideEndpoint: "{{overrideEndpoint}}"
             operation: "putEvent"


(camel-kamelets) 04/10: AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Firehose

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 4610c63a89c139d0489b8f24351efcc77f3ad626
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:29:48 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Firehose
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../aws-kinesis-firehose-sink.kamelet.yaml         | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
index a62e97e9..dbd1edd9 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
@@ -70,6 +70,27 @@ spec:
         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
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Kinesis Firehose client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Kinesis Firehose client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Kinesis Firehose.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
       uriEndpointOverride:
         title: Overwrite Endpoint URI
         description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option.
@@ -93,5 +114,9 @@ spec:
             secretKey: "{{?secretKey}}"
             region: "{{region}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
             uriEndpointOverride: "{{?uriEndpointOverride}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"
             overrideEndpoint: "{{overrideEndpoint}}"


(camel-kamelets) 07/10: AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Source

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 0771b572b0a35c101fbf4ab411a32d42a8ee16e0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:34:33 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/aws-kinesis-source.kamelet.yaml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/kamelets/aws-kinesis-source.kamelet.yaml b/kamelets/aws-kinesis-source.kamelet.yaml
index 91d5c4fc..782acdbd 100644
--- a/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/kamelets/aws-kinesis-source.kamelet.yaml
@@ -72,6 +72,27 @@ spec:
         description: If true, the Kinesis client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
         type: boolean
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Kinesis client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Kinesis client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Kinesis.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
       uriEndpointOverride:
         title: Overwrite Endpoint URI
         description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option.
@@ -112,7 +133,11 @@ spec:
         accessKey: "{{?accessKey}}"
         region: "{{region}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+        useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+        useSessionCredentials: "{{useSessionCredentials}}"
         uriEndpointOverride: "{{?uriEndpointOverride}}"
+        profileCredentialsName: "{{?profileCredentialsName}}"
+        sessionToken: "{{?sessionToken}}"
         overrideEndpoint: "{{overrideEndpoint}}"
         delay: "{{delay}}"
         useKclConsumers: "{{useKclConsumers}}"


(camel-kamelets) 09/10: AWS Kamelets: Support profile and session credentials provider out of the box - Lambda Sink

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 9904191f8b3c4d4a1a954f062ccb8de201193bd4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:37:49 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Lambda Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/aws-lambda-sink.kamelet.yaml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/kamelets/aws-lambda-sink.kamelet.yaml b/kamelets/aws-lambda-sink.kamelet.yaml
index e9b465dd..f88c3232 100644
--- a/kamelets/aws-lambda-sink.kamelet.yaml
+++ b/kamelets/aws-lambda-sink.kamelet.yaml
@@ -70,6 +70,27 @@ spec:
         description: If true, the Lambda client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
         type: boolean
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Lambda client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Lambda client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Lambda.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
   dependencies:
     - "camel:aws2-lambda"
     - "camel:kamelet"
@@ -84,3 +105,7 @@ spec:
             secretKey: "{{?secretKey}}"
             region: "{{region}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"


(camel-kamelets) 08/10: AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Source

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 80a88cba22fa7b3472e02956beef19fb9623fc06
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Aug 5 15:35:36 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the box - Kinesis Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../kamelets/aws-kinesis-source.kamelet.yaml       | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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 91d5c4fc..782acdbd 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
@@ -72,6 +72,27 @@ spec:
         description: If true, the Kinesis client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
         type: boolean
         default: false
+      useProfileCredentialsProvider:
+        title: Profile Credentials Provider
+        description: Set whether the Kinesis client should expect to load credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the Kinesis client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Kinesis.
+        type: boolean
+        default: false
+      profileCredentialsName:
+        title: Profile Credentials Name
+        description: If using a profile credentials provider this parameter will set the profile name.
+        type: string
+      sessionToken:
+        title: Session Token
+        description: Amazon AWS Session Token used when the user needs to assume a IAM role.
+        type: string
+        format: password
+        x-descriptors:
+        - urn:camel:group:credentials
       uriEndpointOverride:
         title: Overwrite Endpoint URI
         description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option.
@@ -112,7 +133,11 @@ spec:
         accessKey: "{{?accessKey}}"
         region: "{{region}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+        useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+        useSessionCredentials: "{{useSessionCredentials}}"
         uriEndpointOverride: "{{?uriEndpointOverride}}"
+        profileCredentialsName: "{{?profileCredentialsName}}"
+        sessionToken: "{{?sessionToken}}"
         overrideEndpoint: "{{overrideEndpoint}}"
         delay: "{{delay}}"
         useKclConsumers: "{{useKclConsumers}}"