Notes to Self

Alex Sokolsky's Notes on Computers and Programming

AWS Security Token Service (STS)

reference

get-caller-identity

aws sts get-caller-identity

assume-role

aws sts assume-role --role-arn "arn:aws:iam::123456789012:role/example-role" \
    --role-session-name AWSCLI-Session