Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants