Skip to content

Commit 2d6a266

Browse files
authored
docs(secretsmanager): remove reference to Secret.grantUpdate (#19151)
This method does not exist. This mention in the docs is leftover from an abandoned approach in #8600 and should have been reverted. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent d435ab6 commit 2d6a266

File tree

1 file changed

+1
-1
lines changed
  • packages/@aws-cdk/aws-secretsmanager

1 file changed

+1
-1
lines changed

packages/@aws-cdk/aws-secretsmanager/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ A secret can set `RemovalPolicy`. If it set to `RETAIN`, that removing a secret
6363
## Grant permission to use the secret to a role
6464

6565
You must grant permission to a resource for that resource to be allowed to
66-
use a secret. This can be achieved with the `Secret.grantRead` and/or `Secret.grantUpdate`
66+
use a secret. This can be achieved with the `Secret.grantRead` and/or `Secret.grantWrite`
6767
method, depending on your need:
6868

6969
```ts

0 commit comments

Comments
 (0)