Hacker News new | ask | show | jobs
by scarface74 2604 days ago
Why have credentials anywhere outside of the .aws directory in your home directory? When developing locally all of the SDKs will read them from there and when deploying to AWS, the SDK will get them from the attached role.
1 comments

I understand what the best practices are, it was a total mistake- I never even intended to push what I did to github.
`git diff` before making a commit `git log` and `git show` before pushing to a remote

These 2 simple things have saved me on more than one occasion.