Skip to content

Commit

Permalink
docs(secretsmanager): remove reference to Secret.grantUpdate (aws#19151)
Browse files Browse the repository at this point in the history
This method does not exist.  This mention in the docs is leftover from an abandoned approach in aws#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*
  • Loading branch information
isker authored and TheRealAmazonKendra committed Mar 11, 2022
1 parent 3bab652 commit cb8612d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-secretsmanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ A secret can set `RemovalPolicy`. If it set to `RETAIN`, that removing a secret
## Grant permission to use the secret to a role

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

```ts
Expand Down

0 comments on commit cb8612d

Please sign in to comment.