Closed suzaku closed 1 month ago
This is intentional design: DescribeSecret
does not carry the decryption performance overhead that GetSecretValue
does. (see the helper here). We use this as a performance optimization to reduce our server-side load.
Grant DescribeSecret
permissions to the identity fetching them in your cluster.
Issue #, if available:
Description of changes: Currently, if
DescribeSecret
is not allowed for one of the secrets, the entireMount
request and the auto rotation would fail. But sometimes secrets might be created with onlyGetSecret
allowed, which is still enough permission to generate a new secret. It would be great to still try fetching secret value even if describe failed because of AccessDenied.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.