Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

assume-role from CLI

This revision card explains assume-role from CLI. It starts from the need that admin rights for 15 minutes are safer than forever. It describes assume-role returns AccessKeyId, Secret and SessionToken. The how-to section notes export all three, then get-caller-identity. An example on the card is unset the three variables to go back.

assume-role from CLI Admin rights for 15 minutes are safer than forever. assume-role returns AccessKeyId, Secret and SessionToken. Export all three, then get-caller-identity. Unset the three variables to go back.
assume-role from CLI · Download PNG
Read card text

What this card says

Why do we need it?

Admin rights for 15 minutes are safer than forever.

What is it?

assume-role returns AccessKeyId, Secret and SessionToken.

ASIA... = temporary

How to do it

Export all three, then get-caller-identity.

Example

Unset the three variables to go back.

See all AWS revision cards