AWS Code Sample
Catalog

asm-official-role-policy-for-rotation-function-single-secret.json

This IAM identity-based permission policy demonstrates how grant individual API access to the secrets in an account.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "secretsmanager:DescribeSecret", "secretsmanager:GetRandomPassword", "secretsmanager:GetSecretValue", "secretsmanager:PutSecretValue", "secretsmanager:UpdateSecretVersionStage", ], "Resource": "*" } ] }

Sample Details

Service: secretsmanager

Author: AWS

Type: full-example

On this page: