-
Notifications
You must be signed in to change notification settings - Fork 0
Home
ArthurMitchell42 edited this page Jul 5, 2021
·
6 revisions
See Code notes
The credentials can be stored in a file called ‘credentials’ or kept in environment variables. The default location for the file is: Linux:
~/.aws/credentials
Windows:
C:\Users\USERNAME\.aws\credentials
Set an absolute location for the credentials file using the environment variable:
AWS_SHARED_CREDENTIALS_FILE = "C:\Users\Arthur\Documents\Software\Amazon_AWS\credentials"
Using environment variables
AWS_ACCESS_KEY_ID = XXXXXXXXXXXXXXXXXXXX
AWS_SECRET_ACCESS_KEY = YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
##To install the BOTO3 package: On Windows
pip install boto3 (In an admin cmd shell)
On Linux:
sudo pip3 install boto3