secretsmanager: secretString should be specified directly. #6378
Labels
@aws-cdk/aws-secretsmanager
Related to AWS Secrets Manager
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
This should work:
The document explains why not that "this will almost always lead to the secret being surfaced in plain text and possibly committed to your source control".
But I think not "almost always". I think the one of benefits of CDK is we can do what we want programmatically in deployment process, unlike other YAML solutions. We can prepare secret string from environment variable, API response, user prompting and so on.
The text was updated successfully, but these errors were encountered: