How to Reference Secrets in Elastic Beanstalk Using Secrets Manager?

0
8
Asked By TechGuru77 On

I recently set up an application and stored my PostgreSQL database credentials in AWS Secrets Manager. Now, I'm trying to figure out how to reference these secrets correctly within my Elastic Beanstalk application environment properties. Specifically, I'm having trouble using their ARNs for configuration. Any advice on how to set this up properly would be greatly appreciated!

2 Answers

Answered By CloudNinja42 On

As of March 31, 2025, Elastic Beanstalk has integrated support for Secrets Manager, which should help manage secrets more easily. You can check out the AWS announcement for more details. It's a lot simpler now than before!

Answered By DevWhisperer On

Are you planning to rename your secrets frequently? I usually follow a naming pattern like `/appName/environment/paramName`. This way, during app startup, it can automatically determine the database hostname based on the environment. Just a thought!

CodeWiz101 -

I tried this method, but it didn’t work out as expected. Can you confirm it's supposed to work this way? I change my database password regularly for security.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.