Learn R Programming

paws.security.identity (version 0.7.0)

secretsmanager_delete_resource_policy: Deletes the resource-based permission policy attached to the secret

Description

Deletes the resource-based permission policy attached to the secret. To attach a policy to a secret, use put_resource_policy.

See https://www.paws-r-sdk.com/docs/secretsmanager_delete_resource_policy/ for full documentation.

Usage

secretsmanager_delete_resource_policy(SecretId)

Arguments

SecretId

[required] The ARN or name of the secret to delete the attached resource-based policy for.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.