AWS Code Sample
Catalog

asm-resource-policy-grant-all-perms-to-anaya.json

This resource-based permission policy shows how to grant permission to an individual user to the attached secret.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "secretsmanager:*", "Principal": {"AWS": "arn:aws:iam::123456789012:user/anaya"}, "Resource": "*" } ] }

Sample Details

Service: secretsmanager

Author: AWS

Type: full-example

On this page: