secretsmanager_validate_resource_policy: Validates that a resource policy does not grant a wide range...

View source: R/secretsmanager_operations.R

secretsmanager_validate_resource_policyR Documentation

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.


paws.security.identity documentation built on Sept. 12, 2024, 6:30 a.m.