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

AWS OIDC Compatibility #86

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

kevin-romer
Copy link

When using configure-aws-credentials instead of an access key / secret combination, this action fails with the following error:

fatal error: An error occurred (InvalidAccessKeyId) when calling the ListObjectsV2 operation: The AWS Access Key Id you provided does not exist in our records.

The fix is to check if a session token is present (since it is created through the configure-aws-credentials action). This allows the action to be used with both the access key / secret combination as it was before and adds compatibility with AWS OIDC.

@mateusfreira
Copy link

This is an important feature, thanks @kevin-reamer

@thomaszlow
Copy link

@jakejarvis This is a really important fix by @kevin-romer. Could you be so kind to merge it?

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.

3 participants