LinuxCommandLibrary

aws-sts

Security Token Service (STS) allows to request temporary credentials for (IAM) users or federated users.

TLDR

Get temporary security credentials to access specific AWS resources

$ aws sts assume-role --role-arn [aws_role_arn]
copy


Get an IAM user or role whose credentials are used to call the operation
$ aws sts get-caller-identity
copy

Copied to clipboard