When I give the aws config list command, I get the following output for the default profile:
Name Value Type Location ---- ----- ---- -------- profile <not set> None None
However, when I give a command for a named profile, I get the profile name
$ aws configure list --profile MyProfile Name Value Type Location ---- ----- ---- -------- profile MyProfile manual --profile
I tried aws configure set profile Default to name the default profile as Default by reading the set 'command, I also tried aws configure set StoreAs Default because I thought the variable was named after I read this page . I want to do this because I want to have two profiles, and I want to switch between profiles using the AWS_DEFAULT_PROFILE environment AWS_DEFAULT_PROFILE .
source share