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

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

commit 6ba5217d5dfa02847ab9f95dedc0f1fafe4970da
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Aug 7 07:47:51 2024 +0200

    AWS Kamelets: Support profile and session credentials provider out of the 
box - AWS SES Sink
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .../resources/kamelets/aws-ses-sink.kamelet.yaml   | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

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 c5546724..3257c4fe 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
@@ -80,6 +80,27 @@ spec:
         description: If true, the SES 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 SES client should expect to load 
credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the SES 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 SES.
+        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:core"
     - "camel:aws2-ses"
@@ -136,3 +157,7 @@ spec:
             accessKey: "{{?accessKey}}"
             region: "{{region}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"

Reply via email to