By default python 2.75 is installed in my machine and I installed boto3 and awcli using pip install awscli boto3 -U --ignore-installed six
command. And it got installed fine, I checked,but there I can't find .aws directory in my home directory. I tried to find using locate and find commands but no use. I want to know where that directory is to add a new profile to the credentials file in the .aws directory
By default, the AWS shared credentials file is assumed to be in the user's home folder ( C:\Users\username\. aws on Windows, or ~/. aws on Linux).
The credentials file is located at ~/.aws/credentials on Linux or macOS, or at C:\Users\ USERNAME \.aws\credentials on Windows.
You have to run aws configure
to have it create the ~/.aws
directory.
.aws hidden directory so you need to write command ls -a. This command will provide all hidden folders.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With