Skip to content

Commit 7238c53

Browse files
author
awstools
committed
docs(client-secrets-manager): Documentation updates for Secrets Manager
1 parent 86e40c9 commit 7238c53

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

clients/client-secrets-manager/src/models/models_0.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,18 @@ export interface PutResourcePolicyRequest {
16591659

16601660
/**
16611661
* <p>Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal. By default, public policies aren't blocked.</p>
1662+
* <important>
1663+
* <p>Resource policy validation and the BlockPublicPolicy parameter help protect your resources by preventing public access from being granted through the resource policies that are directly attached to your secrets. In addition to using these features, carefully inspect the following policies to confirm that they do not grant public access:</p>
1664+
* <ul>
1665+
* <li>
1666+
* <p>Identity-based policies attached to associated Amazon Web Services principals (for example, IAM roles)</p>
1667+
* </li>
1668+
* <li>
1669+
* <p>Resource-based policies attached to associated Amazon Web Services resources (for example, Key Management Service (KMS) keys)</p>
1670+
* </li>
1671+
* </ul>
1672+
* <p>To review permissions to your secrets, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/determine-acccess_examine-iam-policies.html">Determine who has permissions to your secrets</a>.</p>
1673+
* </important>
16621674
* @public
16631675
*/
16641676
BlockPublicPolicy?: boolean;

codegen/sdk-codegen/aws-models/secrets-manager.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@
17901790
"target": "com.amazonaws.secretsmanager#BooleanType",
17911791
"traits": {
17921792
"smithy.api#default": null,
1793-
"smithy.api#documentation": "<p>Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal. By default, public policies aren't blocked.</p>"
1793+
"smithy.api#documentation": "<p>Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal. By default, public policies aren't blocked.</p>\n <important>\n <p>Resource policy validation and the BlockPublicPolicy parameter help protect your resources by preventing public access from being granted through the resource policies that are directly attached to your secrets. In addition to using these features, carefully inspect the following policies to confirm that they do not grant public access:</p>\n <ul>\n <li>\n <p>Identity-based policies attached to associated Amazon Web Services principals (for example, IAM roles)</p>\n </li>\n <li>\n <p>Resource-based policies attached to associated Amazon Web Services resources (for example, Key Management Service (KMS) keys)</p>\n </li>\n </ul>\n <p>To review permissions to your secrets, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/determine-acccess_examine-iam-policies.html\">Determine who has permissions to your secrets</a>.</p>\n </important>"
17941794
}
17951795
}
17961796
},

0 commit comments

Comments
 (0)