What Is Assumed Role in Aws
Returns a Set of Temporary Security Credentials That You Can Use to Access Aws Resources That You Might Not Normally Have Access To. These Temporary...
Returns a set of temporary security credentials that you can use to access AWS resources that you might not normally have access to. These temporary credentials consist of an access key ID, a secret access key, and a security token.
What is an assumed role?
a behavior pattern adopted by a person in the belief that such behavior is expected for a particular position or status; taking on a role is also a method for dealing with uncertainty about how to behave. An example of an assumed role is the sick role. Also called role enactment.
How assumed role works in AWS CLI?
Create environment variables to assume the IAM role and verify access. The AWS CLI command should output the ARN as arn:aws:sts::123456789012:assumed-role/example-role/AWSCLI-Session instead of arn:aws:iam::123456789012:user/Bob, which verifies that you assumed the example-role.