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

Support STS AssumeRole SourceIdentity value #311

Merged
merged 3 commits into from
Jun 6, 2022

Conversation

wlami
Copy link
Contributor

@wlami wlami commented Jun 1, 2022

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #87

This PR implements the SourceIdentity parameter for the ´assume_role´ block as described in #87.

dependabot bot and others added 2 commits May 17, 2022 22:29
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.45.2 to 1.46.2.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v1.45.2...v1.46.2)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
The parameter `SourceIdentity` can be used to track the original principal that was used when assuming IAM roles. It can be set only once during a session and is also preserved if you do IAM role chaining.
@wlami wlami requested a review from a team as a code owner June 1, 2022 08:53
@hashicorp-cla
Copy link

hashicorp-cla commented Jun 1, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@gdavison gdavison left a comment

Choose a reason for hiding this comment

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

Looks good, @wlami! 🚀 I've added tests, as well

@gdavison gdavison merged commit fd9148c into hashicorp:main Jun 6, 2022
gdavison added a commit that referenced this pull request Jun 6, 2022
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.

Support STS AssumeRole SourceIdentity value
3 participants