Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SourceIdentity as a default for RoleSessionName #5

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

benkehoe
Copy link
Owner

  • Fixed get_assumed_role_session_arn(), which incorrectly used iam instead of sts in the ARN.
  • If RoleSessionName is not provided but SourceIdentity is, the SourceIdentity value will be used for RoleSessionName, rather than the botocore-generated value.
    • Added special value AUTOMATIC_ROLE_SESSION_NAME; setting RoleSessionName to this will cause it to use pre-2.8 behavior (i.e., always use botocore-generated value).

@benkehoe benkehoe force-pushed the session-name-from-source-identity branch from b63fa2e to ce1dd90 Compare September 28, 2021 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant