mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 03:58:54 +00:00
Update cheatsheets
This commit is contained in:
17
aws-sts
Normal file
17
aws-sts
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user