jbenaventem/"Configure AWS Credentials" Action For GitHub Actions

Configure AWS credential and region environment variables for use with the AWS CLI and AWS SDKs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jul 6, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: jbenaventem/configure-aws-credentials@15fca826eb6baafb021d7de86996bb846c2661c2 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
aws-access-key-idAWS Access Key ID. This input is required if running in the GitHub hosted environment. It is optional if running in a self-hosted environment that already has AWS credentials, for example on an EC2 instance.no
aws-secret-access-keyAWS Secret Access Key. This input is required if running in the GitHub hosted environment. It is optional if running in a self-hosted environment that already has AWS credentials, for example on an EC2 instance.no
aws-session-tokenAWS Session Tokenno
aws-regionAWS Region, e.g. us-east-2yes
mask-aws-account-idWhether to set the AWS account ID for these credentials as a secret value, so that it is masked in logs. Valid values are 'true' and 'false'. Defaults to trueno
role-to-assumeUse the provided credentials to assume an IAM role and configure the Actions environment with the assumed role credentials rather than with the provided credentialsno
web-identity-token-fileUse the web identity token file from the provided file system path in order to assume an IAM role using a web identity. E.g., from within an Amazon EKS worker nodeno
role-duration-secondsRole duration in seconds (default: 6 hours)no
role-session-nameRole session name (default: GitHubActions)no
role-external-idThe external ID of the role to assumeno
role-skip-session-taggingSkip session tagging during role assumptionno
namedescription
aws-account-idThe AWS account ID for the provided credentials