Assuming AWS IAM role using AWS CLI

aws sts assume-role \
  --role-arn "arn:aws:iam::123456789012:role/MyRole" \
  --role-session-name "MySession" \
  --duration-seconds 3600 # one hour, optional
4 lines of code, 159 characters

Similar AWS code snippets using bash

Finally, a good search for AWS Console

Was that in us-east-1? Or us-west-2? No need to remember. Just type the name of the resource and CloudTempo will find it.

Feature