2
4 Comments

Which Secrets Manager to use?

Hey fellow Devs,

I just wanted to ask if anyone has an opinion regarding AWS Secrets Manager or Vault (https://www.vaultproject.io/) to securely store secrets.

For more context - "Secrets Manager enables you to replace hardcoded credentials in your code with an API call to Secrets Manager to retrieve the secret programmatically. Also, you can configure Secrets Manager to automatically rotate the secret for you according to a schedule that you specify."

  1. 2

    I mostly use SecureStrings from AWS Systems Manager. Most of the secrets that I'm dealing with are external, so (SendGrid token, etc), so most of the features provided by Secrets Manager aren't relevant to me. Systems Manager is way cheaper for those kinds of things, but if you do need built-in rotation, then I agree with @rsalmond: if you're on AWS, then Secrets Manager is probably the way to go. If not, Vault is probably the way to go.

    1. 1

      Thanks @ianwremmel, for introducing Systems Manager. I will check it out too 🙌

  2. 2

    I've tested both but used neither in production (I am currently using Google Secret Manager in production however).

    Vault provides more features and flexibility but if you're on AWS it's probably a lot simpler to just use AWS Secret Manager. You can grant secret access using native IAM policies without the need to get your head around another policy system introduced by Vault.

    Unless you really need dynamic credential rotation, which is a super cool Vault feature, just stick your creds in AWS SM and get on with shipping features for your users.

    1. 1

      Thank you so much for the reply @rsalmond. It all makes sense.

Trending on Indie Hackers
Getting first 908 Paid Signups by Spending $353 ONLY. 25 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments How I Sourced 60% of Customers From Linkedin, Organically 12 comments Hero Section Copywriting Framework that Converts 3x 12 comments Promptzone - first-of-its-kind social media platform dedicated to all things AI. 8 comments