aws:iam
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| aws:iam [08/01/2025 11:43] – [List roles] andrew | aws:iam [01/09/2025 16:21] (current) – [Assume role] andrew | ||
|---|---|---|---|
| Line 53: | Line 53: | ||
| aws sts get-caller-identity | aws sts get-caller-identity | ||
| done | done | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Export Key and secret ===== | ||
| + | |||
| + | < | ||
| + | export AWS_ACCESS_KEY_ID=AKIAMYKEY | ||
| + | export AWS_SECRET_ACCESS_KEY=askjqowiureoiqweMYSecretKey | ||
| + | export AWS_REGION=eu-west-2 | ||
| </ | </ | ||
| ===== AWS SSO ===== | ===== AWS SSO ===== | ||
| - | use '' | + | 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.1736336591.txt.gz · Last modified: by andrew
