Hi, I am looking for some help related creating se...
# python
b
Hi, I am looking for some help related creating secrets in aws secretmanager using pulumi. I am able to create a secret but how to tie it back to RDS and make entry of username and password.
p
discussed on priv
@boundless-exabyte-29150 if you could share the final, working python code snippet here (so others can learn from it as well) that would be awesome 🙂
High level picture is as follows: • create a random password using
pulumi-random
(https://github.com/pulumi/pulumi-random) • create a secret (https://www.pulumi.com/registry/packages/aws/api-docs/secretsmanager/secret/) • create a secret version to store the password created in the first step (https://www.pulumi.com/registry/packages/aws/api-docs/secretsmanager/secretversion/) • use the created password from the first step while creating RDS instance (https://www.pulumi.com/registry/packages/aws/api-docs/rds/instance/#password_python)