Recipe 2 – Storing database credentials using Amazon Secrets Manager
You can use the following steps to create an IAM user:
- To create the secrets, navigate to the AWS Secrets Manager dashboard at https://console.aws.amazon.com/secretsmanager/.
- Choose Store a new secret.
- Then, choose Credentials for Redshift Cluster.
- Specify the username and password.
- Set the encryption key to
DefaultEncryptionKey
. - Select the Redshift cluster from the list that this secret will access, and click Next.
- Specify the name for the secrets, keep the defaults, and click Next.
- Keep the defaults for the configure automatic rotation, and click Next.
- Review and choose Store.
- Capture the secret store ARN.