-
Notifications
You must be signed in to change notification settings - Fork 423
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
add support for passing externalID to assume role #228
add support for passing externalID to assume role #228
Conversation
Welcome @jeffmhastings! |
/assign @nckturner |
@jeffmhastings sorry for the delayed review on this. My one concern with how it was implemented is it will break clients like https://github.com/weaveworks/eksctl wonder if we can do this so it wouldn’t potentially adding a new func entirely and having the original funcs calling it? @errordeveloper and @nckturner definitely good to have your eyes on this |
Yeah that makes sense. Adding a function or two could work if you don't anticipate needing to add more in the future. Though at that point the API might start to get a bit confusing. We could consider using an options struct or options funcs (like stscreds.NewCredentials).
Anyway I'm open to whatever you all think is best. |
I took a stab at refactoring to use an options struct. This shouldn't break the existing API. |
/retest |
@jeffmhastings: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
/retest |
It doesn't seem like it actually re-ran the tests with the /retest command. That travis failure is from 11 days ago. |
/lgtm |
This looks great to me, @micahhausler can you take a quick look and we'll get this merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this refactor. Thanks!
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jeffmhastings, nckturner The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Added update aws auth configmap when manage_aws_auth set false case and `write_aws_auth_config` variable for not create the aws_auth files option * Add CHANGELOG * Changed writing config file process for Windows compatibility. * Apply terraform-docs and terraform fmt * Fixed zsh-specific syntax * Fixed CHANGELOG.md
Hey, I Have the same issue as well. |
@AmitNahMesh I'm not sure I understand what issue you're having. Since this was merged you can now pass an external ID to the
|
It is common practice to require an "external ID" when making cross-account calls to STS assume role. This adds an optional
"--external-id"
/"-e"
argument to the token command. When included it is passed in the AssumeRoleProvider.Issue: #209