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

Ravi Sir's Cards › AWS

AWS Cloud

Profiles and SSO

This revision card explains Profiles and SSO. It starts from the need that one laptop, many accounts: dev, test, prod. Mixing them is dangerous. A profile is a named set of credentials and region in ~/.aws/config. The how-to section notes aws configure sso , then aws sso login --profile dev. An example on the card is check: aws sts get-caller-identity --profile dev.

Profiles and SSO One laptop, many accounts: dev, test, prod. Mixing them is dangerous. A profile is a named set of credentials and region in ~/.aws/config. aws configure sso → aws sso login --profile dev. Check: aws sts get-caller-identity --profile dev.
Profiles and SSO · Download PNG
Read card text

What this card says

Why do we need it?

One laptop, many accounts: dev, test, prod. Mixing them is dangerous.

What is it?

A profile is a named set of credentials and region in ~/.aws/config.

--profile dev

How to do it

aws configure sso → aws sso login --profile dev.

Example

Check: aws sts get-caller-identity --profile dev.

aws sts get-caller-identity

See all AWS revision cards