-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Assuming an IAM Role with sts:AssumeRoleWithWebIdentity requires optional parameter AWS_ROLE_SESSION_NAME to be specified #9415
Comments
orirawlings
added a commit
to orirawlings/vault
that referenced
this issue
Jul 7, 2020
tvoran
added a commit
that referenced
this issue
Jul 14, 2020
…9416) Fixes #9415 Co-authored-by: Theron Voran <[email protected]>
tvoran
added a commit
that referenced
this issue
Jul 14, 2020
…9416) Fixes #9415 Co-authored-by: Theron Voran <[email protected]>
tvoran
added a commit
that referenced
this issue
Jul 14, 2020
…9416) Fixes #9415 Co-authored-by: Theron Voran <[email protected]>
tvoran
added a commit
that referenced
this issue
Jul 14, 2020
…9416) (#9475) Fixes #9415 Co-authored-by: Theron Voran <[email protected]> Co-authored-by: Ori Rawlings <[email protected]>
tvoran
added a commit
that referenced
this issue
Jul 14, 2020
…9416) (#9476) Fixes #9415 Co-authored-by: Theron Voran <[email protected]> Co-authored-by: Ori Rawlings <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I recently upgraded to 1.4.3 so that I could use IAM Roles for Service Accounts (IRSA) for assigning an IAM Role to my vault instances using its identity in Kubernetes.
The role session name is technically a required parameter on the STS API. Though for other applications running in my cluster, I'd normally omit the role session name and allow it to be chosen by the AWS SDK.
It looks like vault forces the AWS_ROLE_SESSION_NAME to be specified to even attempt to assume a role with a web identity though, unable to let the AWS SDK fill in a value.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect vault to assume an IAM Role via IRSA, generating a role session name if one is not provided.
Environment:
vault status
): 1.4.3vault version
): 1.4.3Vault server configuration file(s):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: