secretsmanager:GetResourcePolicy

secretsmanager:GetResourcePolicy

Retrieves the JSON text of the resource-based policy document that's attached to the specified secret.

Supported Resource-Level Permissions

  • arn:aws:secretsmanager:$region:$account:secret:$secret_name

Supported Service Specific Conditions

  • secretsmanager:SecretId
  • secretsmanager:AllowRotationLambdaArn
  • secretsmanager:ResourceTag/$tag-key