-
Notifications
You must be signed in to change notification settings - Fork 479
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
Could not assume role with OIDC: Not authorized to perform sts:AssumeRoleWithWebIdentity #1137
Comments
Faced the same bug when using environment-level secrets in a job (e.g. below)
When I remove the associated line (i.e. |
I was able to resolve this changing |
Comments on closed issues are hard for our team to see. |
@kaykhan If u wanna use
I guess because refs would be limited by ur github environment anyway 🤷♀️ |
|
I received the same error but in my case it was because i've used the organization name in all lower case. What works: "StringLike": {
"token.actions.githubusercontent.com:sub":"repo:theJaxon/terraform-gitops:*"
} |
I got this problem too when However I still do not understand how adding |
Describe the bug
Fails to assume role with OIDC.
Expected Behavior
Expect to assume the role
Current Behavior
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: