You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.aws directory not created after install with pip or git clone install
jon@jon-Inspiron-7391-2n1:~$ aws-mfa
Could not locate credentials file at /home/jon/.aws/credentials, would you like to create one? [y/n]y
Traceback (most recent call last):
File "/home/jon/domusoenv/bin/aws-mfa", line 11, in <module>
load_entry_point('aws-mfa==0.0.12', 'console_scripts', 'aws-mfa')()
File "/home/jon/domusoenv/lib/python3.8/site-packages/aws_mfa-0.0.12-py3.8.egg/awsmfa/__init__.py", line 97, in main
FileNotFoundError: [Errno 2] No such file or directory: '/home/jon/.aws/credentials'
I manually create it
(domusoenv) jon@jon-Inspiron-7391-2n1:~$ mkdir ~/.aws
(domusoenv) jon@jon-Inspiron-7391-2n1:~$ aws-mfa
Could not locate credentials file at /home/jon/.aws/credentials, would you like to create one? [y/n]y
INFO - Validating credentials for profile: default
ERROR - Long term credentials session '[default-long-term]' is missing. You must add this section to your credentials file along with your long term 'aws_access_key_id' and 'aws_secret_access_key'
The text was updated successfully, but these errors were encountered:
jonbeacherdomuso
changed the title
FileNotFoundError: [Errno 2] No such file or directory: '/home/<user>/.aws/credentials'
Ubuntu 20.04.4 LTS FileNotFoundError: [Errno 2] No such file or directory: '/home/<user>/.aws/credentials' #72
Feb 25, 2022
jonbeacherdomuso
changed the title
Ubuntu 20.04.4 LTS FileNotFoundError: [Errno 2] No such file or directory: '/home/<user>/.aws/credentials' #72
Ubuntu 20.04.4 LTS FileNotFoundError: [Errno 2] No such file or directory: '/home/<user>/.aws/credentials'
Feb 25, 2022
.aws directory not created after install with pip or git clone install
I manually create it
The text was updated successfully, but these errors were encountered: