Skip to content
IAM Policy Generator

SecretsManagerReadWrite: what this AWS managed policy allows

SecretsManagerReadWrite is an AWS managed policy (arn:aws:iam::aws:policy/SecretsManagerReadWrite). On AWS's service authorization reference fetched 16 Nov 2026, its Allow statements grant 57 actions, 20 of them Write and 4 Permissions management. AWS describes it this way: "Provides read/write access to AWS Secrets Manager via the AWS Management Console."

Open the workbench ยท All managed policies

Access levelActions allowed
Write20
Read16
List13
Permissions management4
Tagging4

What it allows

  1. Allow 47 actions (secretsmanager:*, cloudformation:CreateChangeSet, cloudformation:DescribeChangeSet, cloudformation:DescribeStackResource, cloudformation:DescribeStacks, cloudformation:ExecuteChangeSet, docdb-elastic:GetCluster, docdb-elastic:ListClusters, ec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeVpcs, kms:DescribeKey, kms:ListAliases, kms:ListKeys, lambda:ListFunctions, rds:DescribeDBClusters, rds:DescribeDBInstances, redshift:DescribeClusters, redshift-serverless:ListWorkgroups, redshift-serverless:GetNamespace, tag:GetResources) on every resource.

    Action or patternActionsAccess levels
    secretsmanager:*27List 1, Read 7, Write 14, Permissions management 3, Tagging 2
    cloudformation:CreateChangeSet1Write 1
    cloudformation:DescribeChangeSet1Read 1
    cloudformation:DescribeStackResource1Read 1
    cloudformation:DescribeStacks1List 1
    cloudformation:ExecuteChangeSet1Write 1
    docdb-elastic:GetCluster1Read 1
    docdb-elastic:ListClusters1List 1
    ec2:DescribeSecurityGroups1List 1
    ec2:DescribeSubnets1List 1
    ec2:DescribeVpcs1List 1
    kms:DescribeKey1Read 1
    kms:ListAliases1List 1
    kms:ListKeys1List 1
    lambda:ListFunctions1List 1
    rds:DescribeDBClusters1List 1
    rds:DescribeDBInstances1List 1
    redshift:DescribeClusters1List 1
    redshift-serverless:ListWorkgroups1List 1
    redshift-serverless:GetNamespace1Read 1
    tag:GetResources1Read 1
  2. Allow 5 actions (lambda:AddPermission, lambda:CreateFunction, lambda:GetFunction, lambda:InvokeFunction, lambda:UpdateFunctionConfiguration) on arn:aws:lambda:*:*:function:SecretsManager*.

    Action or patternActionsAccess levels
    lambda:AddPermission1Permissions management 1
    lambda:CreateFunction1Write 1
    lambda:GetFunction1Read 1
    lambda:InvokeFunction1Write 1
    lambda:UpdateFunctionConfiguration1Write 1
  3. Allow 2 actions (serverlessrepo:CreateCloudFormationChangeSet, serverlessrepo:GetApplication) on arn:aws:serverlessrepo:*:*:applications/SecretsManager*.

    Action or patternActionsAccess levels
    serverlessrepo:CreateCloudFormationChangeSet1Write 1
    serverlessrepo:GetApplication1Read 1
  4. Allow 1 action (s3:GetObject) on arn:aws:s3:::awsserverlessrepo-changesets*, arn:aws:s3:::secrets-manager-rotation-apps-*/*.

    Action or patternActionsAccess levels
    s3:GetObject1Read 1
  5. Allow 2 actions (cloudformation:TagResource, cloudformation:UntagResource) on every resource when cloudformation:CreateAction StringEquals CreateChangeSet or ExecuteChangeSet.

    Action or patternActionsAccess levels
    cloudformation:TagResource1Tagging 1
    cloudformation:UntagResource1Tagging 1

Checks

The policy document

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "BasePermissions",
      "Effect": "Allow",
      "Action": [
        "secretsmanager:*",
        "cloudformation:CreateChangeSet",
        "cloudformation:DescribeChangeSet",
        "cloudformation:DescribeStackResource",
        "cloudformation:DescribeStacks",
        "cloudformation:ExecuteChangeSet",
        "docdb-elastic:GetCluster",
        "docdb-elastic:ListClusters",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcs",
        "kms:DescribeKey",
        "kms:ListAliases",
        "kms:ListKeys",
        "lambda:ListFunctions",
        "rds:DescribeDBClusters",
        "rds:DescribeDBInstances",
        "redshift:DescribeClusters",
        "redshift-serverless:ListWorkgroups",
        "redshift-serverless:GetNamespace",
        "tag:GetResources"
      ],
      "Resource": "*"
    },
    {
      "Sid": "LambdaPermissions",
      "Effect": "Allow",
      "Action": [
        "lambda:AddPermission",
        "lambda:CreateFunction",
        "lambda:GetFunction",
        "lambda:InvokeFunction",
        "lambda:UpdateFunctionConfiguration"
      ],
      "Resource": "arn:aws:lambda:*:*:function:SecretsManager*"
    },
    {
      "Sid": "SARPermissions",
      "Effect": "Allow",
      "Action": [
        "serverlessrepo:CreateCloudFormationChangeSet",
        "serverlessrepo:GetApplication"
      ],
      "Resource": "arn:aws:serverlessrepo:*:*:applications/SecretsManager*"
    },
    {
      "Sid": "S3Permissions",
      "Effect": "Allow",
      "Action": [
        "s3:GetObject"
      ],
      "Resource": [
        "arn:aws:s3:::awsserverlessrepo-changesets*",
        "arn:aws:s3:::secrets-manager-rotation-apps-*/*"
      ]
    },
    {
      "Sid": "CloudFormationTagOnCreate",
      "Effect": "Allow",
      "Action": [
        "cloudformation:TagResource",
        "cloudformation:UntagResource"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "cloudformation:CreateAction": [
            "CreateChangeSet",
            "ExecuteChangeSet"
          ]
        }
      }
    }
  ]
}

Sources

  1. SecretsManagerReadWrite in the AWS Managed Policy Reference, read 16 Nov 2026
  2. AWS Service Authorization Reference, programmatic access (fetched 16 Nov 2026), read 16 Nov 2026

Last reviewed 16 Nov 2026.