Skip to content

Instantly share code, notes, and snippets.

@saumalya75
Created March 30, 2025 16:21
Show Gist options
  • Save saumalya75/ecfd5913aca2d185d8f2c2d1245fd344 to your computer and use it in GitHub Desktop.
Save saumalya75/ecfd5913aca2d185d8f2c2d1245fd344 to your computer and use it in GitHub Desktop.
configure-aws-credentials.yaml
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
audience: sts.amazonaws.com
aws-region: us-east-1
role-to-assume: ${{ secrets[steps.detect-env-and-set-env-vars.outputs.sts_role_arn_secret_var_name] }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment