-
Notifications
You must be signed in to change notification settings - Fork 4.5k
secretsmanager grantWrite doesn't give permission to update a secret #8491
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-secretsmanagerRelated to AWS Secrets ManagerRelated to AWS Secrets ManagerbugThis issue is a bug.This issue is a bug.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdin-progressThis issue is being actively worked on.This issue is being actively worked on.p2
Description
Consider the following example:
import * as secretsmanager from '@aws-cdk/aws-secretsmanager';
const secret = new secretsmanager.Secret(this, 'Secret');
secret.grantWrite(role);The grantWrite will give you secretsmanager:PutSecretValue permission. But it doesn't give secretsmanager:UpdateSecret permission.
Environment
- Framework Version: 1.45.0
- Language (Version): TypeScript 3.9.5
This is 🐛 Bug Report
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-secretsmanagerRelated to AWS Secrets ManagerRelated to AWS Secrets ManagerbugThis issue is a bug.This issue is a bug.good first issueRelated to contributions. See CONTRIBUTING.mdRelated to contributions. See CONTRIBUTING.mdin-progressThis issue is being actively worked on.This issue is being actively worked on.p2