AWS Code Sample
Catalog

asm-user-policy-grants-gsv-to-one-secret.json

This IAM policy allows the attached principal to retrieve the secret value of a specific secret.

{ "Version": "2012-10-17", "Statement": { "Effect": "Allow", "Action": "secretsmanager:GetSecretValue", "Resource": "<arn-of-the-secret-the-app-needs-to-access>" } }

Sample Details

Service: secretsmanager

Author: AWS

Type: full-example

On this page: