secretsmanager:PutResourcePolicy

secretsmanager:PutResourcePolicy

Attaches the contents of the specified resource-based permission policy to a 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