System Grab Bag

View all TLDR pages from common (or from all pages)

aws sts

Security Token Service (STS) allows to request temporary credentials for (IAM) users or federated users. More information: https://docs.aws.amazon.com/cli/latest/reference/sts/.
  • Get temporary security credentials to access specific AWS resources:
    aws sts assume-role --role-arn {{aws_role_arn}}
  • Get an IAM user or role whose credentials are used to call the operation:
    aws sts get-caller-identity

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.