Rotating SSM Parameter Store secrets

0

Hi, I am assessing the effort to implement lifecycle management capabilities for SSM parameter store.

A set of lambdas read parameters from SSM, but some constraints now requires that secrets should be rotated.

I am aware that you can combine both SSM Parameter Store and AwS Secrets Managers, but I would like to avoid that:

I am aware that aws secrets managers supports rotation natively, so my question is, is there a resilience approach documented about rotating SSM parameter store secrets, or would just be wiser to refactor the application and use secrets managers instead?

profile picture
专家
已提问 1 年前858 查看次数
1 回答
1
已接受的回答

As you mentioned in your message, while AWS Secrets Manager has native support for secret rotation, SSM Parameter Store does not directly support this.

What I would recommend instead for this scenario is Referencing AWS Secrets Manager secrets from Parameter Store parameters. That way you don't have to fully refactor the applications and you can take advantage of the secrets manager secret rotation functionality.

You could also implement a custom solution if you wish to avoid using AWS Secrets Manager altogether. However, implementing and maintaining this custom rotation process could add complexity to your architecture. AWS Secrets Manager provides this functionality out-of-the-box and is integrated with many AWS services, which can simplify your architecture and potentially reduce maintenance effort. It's also worth noting that Secrets Manager can automatically handle some scenarios that might be challenging with a custom solution, such as handling secrets that are in use during rotation.

profile picture
专家
已回答 1 年前
profile pictureAWS
专家
已审核 10 个月前
profile picture
专家
已审核 1 年前
profile pictureAWS
专家
kentrad
已审核 1 年前
  • Thanks, having both seems a bit towards doubling the cost potentially, but I agree that custom could become problematic. Hinting towards refactoring and use only secrets manager.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则