Rotate the secret
Rotation is when you periodically update a secret. You can configure Amazon Secrets Manager to automatically rotate the secret for you on a schedule that you specify. This way, you can replace long-term secrets with short-term ones. This helps to reduce the risk of compromise. For more information, see Rotate Amazon Secrets Manager secrets in the Amazon Secrets Manager User Guide.