2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
With the AWS SSO you have a page https://d-xxxxxxx.awsapps.com/start#/
With this page you can configure the SSO login for the cli: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html
After you have configured it, run: aws sso login --profile generated-profile-name
to login. This will open a browser window and redirect you to okta to authenticate.
répondu il y a un an
0
You can have multiple profiles in the credentials/config files. If you want to store the additional keys do something like this:
aws configure --profile accountx
Then to use these credentials use the --profile in the command, like:
aws ec2 describe-instances --profile accountx
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 ans
Thanks @kentrad, but they didn't give me any additional secret or key, so how would I get those? I was told to log in via okta but when I do that I just see my previous account not the new account (X)