From the course: AWS Essential Training for Developers
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Storing passwords with Secrets Manager - Amazon Web Services (AWS) Tutorial
From the course: AWS Essential Training for Developers
Storing passwords with Secrets Manager
- [Instructor] We followed best practices by creating the IAM role for our EC2 instance to access S3 and removing our secret access key from within our code. However, there are times when you need to pass in credentials to external third party services that aren't AWS services from within your code and you don't want to put those passwords or keys directly within your code either. In these instances, look at AWS Secrets Manager. You can find it by typing Secrets Manager into the search bar. With Secrets Manager, you will store the key or passwords securely into Secrets Manager. In your source code, instead of hard coding this password or key directly into your code you'll just call the AWS API with a small bit of code and retrieve the secret from Secrets Manager. So if your server is compromised or your code is leaked it won't contain your keys and passwords to your external services.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
Hard drives with Elastic Block Store (EBS)4m 54s
-
(Locked)
NAS with Elastic File System (EFS)3m 14s
-
(Locked)
Web storage with Simple Storage Service (S3)3m 11s
-
(Locked)
Upload a file to S3 from the AWS CLI4m 56s
-
(Locked)
Use the SDK to create a file within S36m 29s
-
(Locked)
IAM roles for EC24m 58s
-
(Locked)
Putting together all of the IAM resources3m 24s
-
(Locked)
Storing passwords with Secrets Manager1m 20s
-
(Locked)
Long-term storage with S3 Glacier5m 17s
-
(Locked)
Serve content faster with CloudFront6m 35s
-
-
-
-
-
-
-