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 e6a70597d5ac8794d41e953ab4860ad55956b8ce
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Aug 7 07:56:44 2024 +0200

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

diff --git a/kamelets/aws-sqs-batch-sink.kamelet.yaml 
b/kamelets/aws-sqs-batch-sink.kamelet.yaml
index e2edd7d2..b5c016f7 100644
--- a/kamelets/aws-sqs-batch-sink.kamelet.yaml
+++ b/kamelets/aws-sqs-batch-sink.kamelet.yaml
@@ -92,6 +92,27 @@ spec:
         description: Set whether the SQS 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 SQS client should expect to load 
credentials through a profile credentials provider.
+        type: boolean
+        default: false
+      useSessionCredentials:
+        title: Session Credentials
+        description: Set whether the SQS 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 SQS.
+        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.
@@ -120,5 +141,9 @@ spec:
             amazonAWSHost: "{{?amazonAWSHost}}"
             protocol: "{{?protocol}}"
             useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
+            useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}"
+            useSessionCredentials: "{{useSessionCredentials}}"
             uriEndpointOverride: "{{?uriEndpointOverride}}"
+            profileCredentialsName: "{{?profileCredentialsName}}"
+            sessionToken: "{{?sessionToken}}"
             overrideEndpoint: "{{overrideEndpoint}}"            

Reply via email to