AWS CLI 2 · Setup and credentials

Use a profile for the session

Make every command in this shell use a profile.

export AWS_PROFILE=dev

Official AWS CLI 2 documentation

More setup and credentials commands

All setup and credentials commands · AWS CLI 2 cheatsheet

Was this page helpful?