Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Credentials for AWS/Boto
-
Does anyone have a preferred method for handling AWS credentials for work in boto3? Especially when working with code stored in GitHub via Working Copy?
Basically, I work on the code from a regular Mac and from my iPad, so I don't want the credentials hard coded or loaded in a file on GitHub.
I tried creating a ~./aws/credentials file but that didn't seem to work. Is there a way to set environment variables that last between sessions? (or that I can set quickly with a script). Or a file location that someone has found to work?
Thanks
-
I import them from a separate .py file which is in the same directory, but not in GitHub.
-
install StaSh then you can mkdir ~/.aws
and edit ~/.aws/credentialshttps://forum.omz-software.com/topic/1919/stash-shell-like-an-expert-in-pythonista