aws:iam
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
aws:iam [22/07/2024 09:51] – created - external edit 127.0.0.1 | aws:iam [01/09/2025 16:21] (current) – [Assume role] andrew | ||
---|---|---|---|
Line 25: | Line 25: | ||
< | < | ||
- | $ aws iam list-roles --profile | + | $ aws iam list-roles --profile |
" | " | ||
" | " | ||
Line 56: | Line 56: | ||
+ | ===== Export Key and secret ===== | ||
+ | < | ||
+ | export AWS_ACCESS_KEY_ID=AKIAMYKEY | ||
+ | export AWS_SECRET_ACCESS_KEY=askjqowiureoiqweMYSecretKey | ||
+ | export AWS_REGION=eu-west-2 | ||
+ | </ | ||
+ | |||
+ | ===== AWS SSO ===== | ||
+ | |||
+ | For times when you need to authenticate on a remote system without a browser. If you get a redirect to 127.0.0.1 failure error messge, this is for you:- | ||
+ | |||
+ | < | ||
+ | aws configure sso --use-device-code | ||
+ | </ | ||
aws/iam.1721641882.txt.gz · Last modified: by 127.0.0.1