Are you wondering how to store credentials in AWS? Or keep passwords secure in AWS ? 

AWS Secrets Manager is the key for storing this crucial information!

You no longer have to worry about hardcoding these secrets when you want to access applications, services, and IT resources. Just route the access through AWS Secrets Manager for a safer experience. 

So, in this short blog, we will show you how to get started with AWS Secrets Manager. 

What is AWS Secrets Manager?

AWS Secrets Manager enables you to replace hard coded credentials in your code, including passwords, with an API call to Secrets Manager to retrieve the secret programmatically.

For example, private container images in the Docker hub or other repositories are not available publicly to fetch via a URL. We need to add the credentials of public repositories in AWS Secrets Manager. 

Think of AWS Secrets Manager as a secure way to access passwords, keys, etc. It eliminates the need to hardcode sensitive information in plain text format.  

How to Add a Secret in AWS Secrets Manager 

Follow these simple steps below to add a secret in AWS Secrets Manager. 

Step 1: Go to AWS Secrets Manager >> Secrets >> Store a new secret. 

Step 2: Under “Select Secret Type” select “Other types of secrets”.

Step 3: Select Plaintext in Specify the key/value pairs to be stored in this secret 

Step 4: Paste the username and password in the following format. This is the secret you are storing. 


“username”: “admin”,

“password”: “mypassw0rd”


AWS secrets manager
Step 1 – 4

Step 5: Click Next. 

Step 6:  For Secret Name, give an identifiable name. Leave the rest as it is and go to the next page.

Step 6

Step 7: Keep Disable automatic rotation by default. 

Step 7

Step 8: Click Next and store the secret. 

Step 9: You can use the Secret ARN in different AWS applications to authenticate a service elsewhere.

Wrapping Up

Access and read your secrets whenever you need them, wherever you are with AWS Secrets Manager. 

At SysAlly, we experiment with Cloud and the most useful information is passed on to the world as blogs. Signup for the updates.

Until later, here’s SysAlly signing off!

Get new insights right to your inbox

How can our experts help you?

Schedule your consultation

You may also like

  • By admin
  • in DevOps

Agile vs DevOps: What’s the difference

  • Nov 18, 2022 .
  • 9 min min
Read More
  • By admin
  • in DevOps

DevOps as a Service: All You Should Know

  • Aug 9, 2022 .
  • 9 min min
Read More
  • By admin
  • in Containerization

Containerization VS Virtualization: Understanding the Differences

  • Aug 4, 2022 .
  • 8 min min
Read More

Be in the know

Techno tips served hot! Subscribe now and stay atop.