Search code examples
pythongithub-apiamazon-lex

How can i set my credentials for `aws` in boto?


Trying to run my chatbot on LEX engine from python according to this link https://github.com/boto/boto3#quick-start .

Being a starter in Github and amazon Lex i don't understand how to set these up :

[default]
aws_access_key_id = YOUR_KEY
aws_secret_access_key = YOUR_SECRET

It says to create this in ~/.aws/credentials but I'm not sure what that means.

I have already set the virtual environment and ran pip install boto3 again my question is how to set that step i mentioned above and where.


Solution

  • Go to C:\Users\user_name there you will find a folder .aws. Put your credentials and config files inside that folder.