Skip to content

Conversation

@jglick
Copy link
Member

@jglick jglick commented Jul 18, 2023

Similar to jenkinsci/artifact-manager-s3-plugin#351 but more complicated here as a facility needed to be added to allow AssumeRole to be run on SSO session credentials that already had an sso_role_name defined. (jenkinsci/workflow-api-plugin#296 (comment))

@jglick jglick added the tests label Jul 18, 2023
Credentials credentials = builder.build().assumeRole(new AssumeRoleRequest().
withRoleArn(role).
withRoleSessionName("CloudWatchSender"). // TODO does this need to be unique?
withRoleSessionName("CloudWatchSender-" + UUID.randomUUID()).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just improving this while I was here, based on log message below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant