davsclaus opened a new pull request, #31118: URL: https://github.com/apache/camel/pull/31118
# Description [CAMEL-27772](https://issues.apache.org/jira/browse/CAMEL-27772) Since CAMEL-27667 (#31025), `AwsClientBuilderUtil.resolveCredentialsProvider` throws `IllegalArgumentException` when `useSessionCredentials` is true and `accessKey`, `secretKey` or `sessionToken` is missing. Ten components still described the behaviour from before that change: - `sessionToken` (in ecs and redshift-data: `useSessionCredentials`) said that without a session token, `accessKey` and `secretKey` are used as static credentials. Now creating the client fails. - `accessKey` and `secretKey` said 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. A scan of the generated metadata of all camel-aws components found no other component with this wording. Only descriptions change, plus the regenerated metadata, catalog and DSL builders. No code changes. # Target - [x] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch) # Tracking - [x] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [x] I have run `mvn clean install -DskipTests` locally from root folder and I have committed all auto-generated changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_016Y4dDi5iQNgtHrDdz2NpwF -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
