DatabaseAdministrator

Last Modified

Mar 12, 2026

March 12, 2026 at 09:28 PM UTC

Version

v5

Total Versions

7

Created

Feb 12, 2026

Actions

79

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Can launch resources that run as a more privileged role

    Grants the actions of 2 documented escalation paths, but only on named resources or under a condition. Review that scope before trusting it.

    • datapipeline-001iam:PassRole + datapipeline:CreatePipeline + datapipeline:PutPipelineDefinition + datapipeline:ActivatePipelinescoped
      • iam:PassRole: on arn:aws:iam::*:role/rds-monitoring-role, arn:aws:iam::*:role/rdbms-lambda-access, arn:aws:iam::*:role/lambda_exec_role
    • lambda-002iam:PassRole + lambda:CreateFunction + lambda:CreateEventSourceMappingscoped
      • iam:PassRole: on arn:aws:iam::*:role/rds-monitoring-role, arn:aws:iam::*:role/rdbms-lambda-access, arn:aws:iam::*:role/lambda_exec_role

    Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.

  • Medium

    Can read secrets

    Reads Lambda environment variables, where credentials often live, on any resource with no condition.

    lambda:GetFunctionConfiguration

    Use with caution: Where the holder needs only some secrets, write your own policy scoped to their ARNs or tags, and limit decryption in the KMS key policies.

  • Medium

    Can rewrite resource policies and sharing

    Grants 9 permissions management actions across 3 services (dynamodb, redshift, s3) on any resource, enough to share resources outside the account.

    dynamodb:deleteresourcepolicydynamodb:putresourcepolicyredshift:createsnapshotcopygrantredshift:deleteresourcepolicyredshift:putresourcepolicyredshift:revokeendpointaccessredshift:revokesnapshotaccesss3:putobjectacls3:putobjectversionacl

    Use with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.

  • Medium

    Can read data in every bucket or table

    Reads any object in any S3 bucket; any DynamoDB table. Read-only is not the same as harmless when the data is the asset.

    s3:GetObject (via s3:Get*)dynamodb:Scan (via dynamodb:*)dynamodb:GetItem (via dynamodb:*)

    Use with caution: Read access to data is still access to data. For people who only need to see configuration, ViewOnlyAccess carries none of these signals.

  • Medium

    Full access to 4 services on every resource

    Uses dynamodb:*, elasticache:*, rds:*, redshift:* with Resource "*" and no condition, so every action AWS adds to those services later is granted too.

    dynamodb:*elasticache:*rds:*redshift:*

    Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "cloudwatch:DeleteAlarms",
            "cloudwatch:Describe*",
            "cloudwatch:DisableAlarmActions",
            "cloudwatch:EnableAlarmActions",
            "cloudwatch:Get*",
            "cloudwatch:List*",
            "cloudwatch:PutMetricAlarm",
            "datapipeline:ActivatePipeline",
            "datapipeline:CreatePipeline",
            "datapipeline:DeletePipeline",
            "datapipeline:DescribeObjects",
            "datapipeline:DescribePipelines",
            "datapipeline:GetPipelineDefinition",
            "datapipeline:ListPipelines",
            "datapipeline:PutPipelineDefinition",
            "datapipeline:QueryObjects",
            "dynamodb:*",
            "ec2:DescribeAccountAttributes",
            "ec2:DescribeAddresses",
            "ec2:DescribeAvailabilityZones",
            "ec2:DescribeInternetGateways",
            "ec2:DescribeSecurityGroups",
            "ec2:DescribeSubnets",
            "ec2:DescribeVpcs",
            "elasticache:*",
            "iam:ListRoles",
            "iam:GetRole",
            "kms:ListKeys",
            "lambda:CreateEventSourceMapping",
            "lambda:CreateFunction",
            "lambda:DeleteEventSourceMapping",
            "lambda:DeleteFunction",
            "lambda:GetFunctionConfiguration",
            "lambda:ListEventSourceMappings",
            "lambda:ListFunctions",
            "logs:DescribeLogGroups",
            "logs:DescribeLogStreams",
            "logs:FilterLogEvents",
            "logs:GetLogEvents",
            "logs:Create*",
            "logs:PutLogEvents",
            "logs:PutMetricFilter",
            "pi:CreatePerformanceAnalysisReport",
            "pi:DeletePerformanceAnalysisReport",
            "pi:DescribeDimensionKeys",
            "pi:GetDimensionKeyDetails",
            "pi:GetPerformanceAnalysisReport",
            "pi:GetResourceMetadata",
            "pi:GetResourceMetrics",
            "pi:ListAvailableResourceDimensions",
            "pi:ListAvailableResourceMetrics",
            "pi:ListPerformanceAnalysisReports",
            "pi:ListTagsForResource",
            "pi:TagResource",
            "pi:UntagResource",
            "rds:*",
            "redshift:*",
            "s3:CreateBucket",
            "sns:CreateTopic",
            "sns:DeleteTopic",
            "sns:Get*",
            "sns:List*",
            "sns:SetTopicAttributes",
            "sns:Subscribe",
            "sns:Unsubscribe"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "s3:AbortMultipartUpload",
            "s3:DeleteObject*",
            "s3:Get*",
            "s3:List*",
            "s3:PutAccelerateConfiguration",
            "s3:PutBucketTagging",
            "s3:PutBucketVersioning",
            "s3:PutBucketWebsite",
            "s3:PutLifecycleConfiguration",
            "s3:PutReplicationConfiguration",
            "s3:PutObject*",
            "s3:Replicate*",
            "s3:RestoreObject"
          ],
          "Resource": [
            "*"
          ]
        },
        {
          "Effect": "Allow",
          "Action": [
            "iam:PassRole"
          ],
          "Resource": [
            "arn:aws:iam::*:role/rds-monitoring-role",
            "arn:aws:iam::*:role/rdbms-lambda-access",
            "arn:aws:iam::*:role/lambda_exec_role",
            "arn:aws:iam::*:role/lambda-dynamodb-*",
            "arn:aws:iam::*:role/lambda-vpc-execution-role",
            "arn:aws:iam::*:role/DataPipelineDefaultRole",
            "arn:aws:iam::*:role/DataPipelineDefaultResourceRole"
          ]
        }
      ]
    },
    "VersionId": "v5",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T18:02:20+00:00"
  }
}

Version History (12 recorded)

Raw history
v5updated

scope changed, no action added or removed

f29656d

DatabaseAdministrator - Policy Version v5

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

bef6575

DatabaseAdministrator - Policy Version v4

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

13e1297

DatabaseAdministrator - Policy Version v3

No recorded action delta - this version predates the change index. View the raw diff.

Oct 1, 2025

d596d60

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

49aa1d0

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

71619cf

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

8279033

`2019-08-29`

No recorded action delta - this version predates the change index. View the raw diff.

Aug 29, 2019

5016d52

I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not

No recorded action delta - this version predates the change index. View the raw diff.

Jul 12, 2019

9d2dff1

First commit

No recorded action delta - this version predates the change index. View the raw diff.

Feb 10, 2019

ad4c2e8