How to configure AWS credentials/login? #291
Answered
by
dflook
PeterBocan
asked this question in
Q&A
-
Hello Community, I don't see any documentation around the AWS credentials and/or logging into AWS using a predefined AWS account. Do I need to provide a separate step to login into AWS? |
Beta Was this translation helpful? Give feedback.
Answered by
dflook
Sep 13, 2023
Replies: 1 comment
-
You would typically set the You can use an access key that you have stored in a secret like this: env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} You can set the These credentials could come from anywhere - I wrote https://github.com/dflook/configure-oidc-aws-credentials for using OpenID Connect. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PeterBocan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You would typically set the
AWS_
environment variables to pass the credentials.You can use an access key that you have stored in a secret like this:
You can set the
env
globally at the top level, or for a single task.These credentials could come from anywhere - I wrote https://github.com/dflook/configure-oidc-aws-credentials for using OpenID Connect.