Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
examples
/
sts
📤 Upload
📝 New File
📁 New Folder
Close
Editing: get-caller-identity.rst
**To get details about the current IAM identity** The following ``get-caller-identity`` example displays information about the IAM identity used to authenticate the request. The caller is an IAM user. :: aws sts get-caller-identity Output:: { "UserId": "AIDASAMPLEUSERID", "Account": "123456789012", "Arn": "arn:aws:iam::123456789012:user/DevAdmin" }
Save
Cancel