Hey everybody, I recently collaborated on a very cool open source project that allows you to visualize and configure some of your services instances ! I found it difficult to manage all my EC2’s through AWS’ website, especially having to transition every time from one region to another. This tool is still on a beta version, but it will show you all your instances in all regions at once and in a single region if you want to.
Yikes! This replaced my ~/.aws/credentials file. When I gave it a key and ID to use at login, it replaced the contents of my credentials file with only those credentials.
I have 5+ credentials and this erased all of them and only wrote out the key and ID that I provided for login. I was using the downloaded binary on Ubuntu if that makes a different. Not using the git source+npm.
Just a heads up, the logout deletes the file. The team and I thought it would be safer to not keep the credentials saved somewhere after the session was over. What would be the best approach? To Check if you already have the file and skip login/logout in this case?
read the credentials file and ask to use on of the existing profiles first. If the user doesn’t want to use any of those profiles, create a new profile with the ID and Key they provide, and append to their existing credentials.