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

This field is reserved for internal use.

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 May 29, 2024, 10:51 a.m.