aws-sts: add page (#8669)

pull/1/head
subhash-iiitm 2022-10-07 23:57:27 +05:30 committed by GitHub
parent b067166e22
commit 36e2f9f0cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

12
pages/common/aws-sts.md Normal file
View File

@ -0,0 +1,12 @@
# 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`