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 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.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest