secretsmanager.Secret: Add grantReadAndDescribe() function #7953
Labels
@aws-cdk/aws-secretsmanager
Related to AWS Secrets Manager
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
The Secret.grantRead() should be accompanied by an analogous grantReadAndDescribe() function.
Use Case
aws/aws-secretsmanager-caching-java requires permission to execute the DescribeSecret action to perform its function.
When just using Secret.grantRead(), the SecretCache fails to access the secret:
There is currently no obvious way to grant DescribeSecret as well as GetSecretValue.The same can be achieved relatively simply with IAM calls (see below), but the function would be nicer.
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: