paint-brush
How to Handle EC2 Credentials: Best Practices and Common Mistakesby@micogongob
103 reads

How to Handle EC2 Credentials: Best Practices and Common Mistakes

by Mico Gongob2mFebruary 10th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

An AWS credential is a personal credential and they are personal and should only be on your personal computer. If the EC2 is ever compromised, so would your personal account. Using the AWS CLI on an EC2 instance is a bad way of configuring the cli and it is insecure. Using IAM Roles is a better way to use IAM Credentials on EC2 instances is to use the IAM Role. The right way is to attach the minimum permissions to the role.

Company Mentioned

Mention Thumbnail
featured image - How to Handle EC2 Credentials: Best Practices and Common Mistakes
Mico Gongob HackerNoon profile picture
Mico Gongob

Mico Gongob

@micogongob

Software Engineer from the Philippines

About @micogongob
LEARN MORE ABOUT @MICOGONGOB'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Mico Gongob HackerNoon profile picture
Mico Gongob@micogongob
Software Engineer from the Philippines

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Zephyrnet
Hebergementwebs
Techosmo
Tipsloves