From 36e2f9f0cc9788a0a6762642d3a99956648c8edb Mon Sep 17 00:00:00 2001 From: subhash-iiitm <7554597+subhash-iiitm@users.noreply.github.com> Date: Fri, 7 Oct 2022 23:57:27 +0530 Subject: [PATCH] aws-sts: add page (#8669) --- pages/common/aws-sts.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pages/common/aws-sts.md diff --git a/pages/common/aws-sts.md b/pages/common/aws-sts.md new file mode 100644 index 000000000..6fed36b4e --- /dev/null +++ b/pages/common/aws-sts.md @@ -0,0 +1,12 @@ +# aws sts + +> Security Token Service (STS) allows to request temporary credentials for (IAM) users or federated users. +> More information: . + +- 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`