Ravi Sir's Cards › AWS
Credentials chain
This revision card explains Credentials chain. It starts from the need that code keys (avoid). It describes env vars beat the profile file. The how-to section notes ~/.aws profile, then SSO. An example on the card is in the cloud: IAM role, no keys.
Read card text
What this card says
Why do we need it?
Code keys (avoid).
What is it?
Env vars beat the profile file.
AWS_PROFILE=uk-prod
How to do it
~/.aws profile, then SSO.
Session(profile_name=...)
Example
In the cloud: IAM role, no keys.
method: iam-role