I'm new to AWS CLI, but one thing that is bothering me a bit, is the fact that I need to store my credentials in a file. I have several
buckets on S3, and I create an account for my application, which will have only access for this bucket. However, if my server is hacked, the attacker could easily read my
.aws/credentials file and destroy everything within my bucket. Then, my company would be in huge problems, since we rely on AWS a lot!
Is there any suggestion to increase the security of this scenario ?
I can totally understand that if my server is hacked, and has sudo acess, my chances are slim, however, I would like to make more difficult as possible to prevent any damage.