Validates that a resource policy does not grant a wide range of principals access to your secret
Source:R/secretsmanager_operations.R
secretsmanager_validate_resource_policy.RdValidates that a resource policy does not grant a wide range of principals access to your secret. A resource-based policy is optional for secrets.
See https://www.paws-r-sdk.com/docs/secretsmanager_validate_resource_policy/ for full documentation.
Arguments
- SecretId
The ARN or name of the secret with the resource-based policy you want to validate.
- ResourcePolicy
[required] A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For example policies, see Permissions policy examples.