In this blog, I will discuss, how to create AWS secret for the full stack react web app we deployed in part 1.
Secrets to store in AWS Secret Manager
- firebase-service-account
- mongodb-credentials
- App-config port
Steps in creating Secret
- Go to Secrets Manager
- Click Store a new secret
- Choose Other type of secret
Paste the Firebase
credentials.jsoninto aFIREBASE_CREDENTIALS_JSON
Add MongoDB secrets as well

I added my secret name as well

I didn't add lambda function yet to rotate it. Click Next

- I copied the javascript snippets then clicked "Store".
Once you created your secrets, copy the arn IAM role
How to find the ARN of your secret:
- Go to the AWS Console.
- Navigate to Secrets Manager.
- Click on the name of the secret you just created (e.g.,
react-blog-secrets). - At the top, you’ll see Secret ARN.
No Comments