Claus Ibsen created CAMEL-27772:
-----------------------------------

             Summary: camel-aws - session credentials option descriptions still 
describe the fallback removed by CAMEL-27667
                 Key: CAMEL-27772
                 URL: https://issues.apache.org/jira/browse/CAMEL-27772
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2, camel-aws
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 4.25.0


Since CAMEL-27667, the AWS client fails at start when useSessionCredentials is 
true and accessKey, secretKey or sessionToken is missing 
(AwsClientBuilderUtil.resolveCredentialsProvider throws 
IllegalArgumentException).

The option descriptions of ten components still describe the old behaviour:

* sessionToken (or useSessionCredentials in ecs and redshift-data) says that 
without a session token the accessKey and secretKey are used as static 
credentials. Now the client fails.
* accessKey and secretKey say they are required "unless ... 
useSessionCredentials is true". It is the reverse: session credentials need 
both keys.

Components: aws-bedrock, aws-bedrock-agent, aws-bedrock-agent-runtime, 
aws-cloudtrail, aws2-ecs, aws2-redshift-data, aws2-sns, aws2-step-functions, 
aws2-timestream, aws2-transcribe.

Only descriptions change, no code.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to