-
Notifications
You must be signed in to change notification settings - Fork 468
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
From US account switch to CN account, Error: The security token included in the request is invalid #756
Comments
We are seeing this as well (I think). Here's the output from our GH Action step:
Is that what you are seeing? |
|
For whoever gets here for whatever reason.
Please use thumbprints from https://github.blog/changelog/2023-06-27-github-actions-update-on-oidc-integration-with-aws/ not |
Thanks for sharing that.
|
It seems that the comments in this thread should be going to #357, please make sure you're in the right thread :) @YanJieFan there might be an issue with the environment variables not clearing between runs, try clearing out your AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN environment variables in a step between assuming these roles, and let me know if that works. |
It can work ☺ (clear the environment variables), the code is:
|
Comments on closed issues are hard for our team to see. |
Describe the bug
First, login to my US account's role and do something
Then, login CN account's role
If just login CN account, or from US account switch to another US account, it can work
Expected Behavior
It can login successful
Current Behavior
Error: The security token included in the request is invalid
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: