Checking-Aws-Iam-Role
Checking AWS IAM Role
Docs and Source
Explanation and Notes
Returns details about the AIM user or role that is logged in.
Useful for checking your role when working with AWS resources for projects.
Code Example
aws sts get-caller-identity
#aws