Claus Ibsen created CAMEL-26038:
-----------------------------------

             Summary: camel-aws2-sts - the docs, and the disabled assumeRole 
test
                 Key: CAMEL-26038
                 URL: https://issues.apache.org/jira/browse/CAMEL-26038
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2
    Affects Versions: 4.18.0, 4.22.0, 4.23.0
            Reporter: Claus Ibsen
             Fix For: 4.24.0


Found while adding the catalog body types of aws2-sts (CAMEL-24961).

h4. 1. The docs and the disabled assumeRole test

* The docs say the component supports the assumeRole operation; it supports 
assumeRole, getSessionToken and getFederationToken.
* The docs name the client option {{amazonSTSClient}}; it is {{stsClient}}.
* {{StsAssumeRoleIT}} is disabled ("Doesn't work with Localstack 4.4.0"), and 
its role ARN "user_test" is not an ARN. The tests run on floci now, where 
assumeRole works for a role made with a trust policy for the account: Checked 
on 4.24.0-SNAPSHOT with {{camel run}} against the AWS emulator of {{camel infra 
run aws}}, with a role made by aws2-iam.

*Proposed change*: fix the docs, and enable the test with a role it makes first.

_Claude Code on behalf of davsclaus_



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

Reply via email to