Learn R Programming

paws.security.identity (version 0.7.0)

secretsmanager_validate_resource_policy: Validates that a resource policy does not grant a wide range of principals access to your secret

Description

Validates 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.

Usage

secretsmanager_validate_resource_policy(SecretId = NULL, ResourcePolicy)

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.