AmazonRedshiftQueryEditorV2FullAccess
Summary
Grants full access to the Amazon Redshift Query Editor V2 operations and resources. This policy also grants access to other required services. This includes permissions to list the Amazon Redshift clusters, read keys and aliases in AWS KMS and manage the Query Editor V2 secrets in AWS Secrets Manager.
Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.
Identity
- ARN
arn:aws:iam::aws:policy/AmazonRedshiftQueryEditorV2FullAccess- Default version
- v3
- Created
- Last edited
- Services
- kms, redshift, redshift-serverless, secretsmanager, sqlworkbench, tag
Control-plane actions (89)
By access level: 13 List, 26 Read, 3 Tagging, 47 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| KMS | 2 of 58 | 1 List, 1 Read; 0 restricted, 0 conditional | kms:DescribeKey, kms:ListAliases |
| Redshift | 1 of 167 | 1 List; 0 restricted, 0 conditional | redshift:DescribeClusters |
| Redshift Serverless | 2 of 69 | 2 List; 0 restricted, 0 conditional | redshift-serverless:ListNamespaces, redshift-serverless:ListWorkgroups |
| Secrets Manager | 4 of 27 | 1 Read, 1 Tagging, 2 Write; 4 restricted, 0 conditional | secretsmanager:CreateSecret, secretsmanager:DeleteSecret, secretsmanager:GetSecretValue, secretsmanager:TagResource |
| SQL Workbench | All 79 actions (see the SQL Workbench page) | 9 List, 23 Read, 2 Tagging, 45 Write; 0 restricted, 0 conditional | sqlworkbench:* |
| Resource Group Tagging | 1 of 9 | 1 Read; 1 restricted, 1 conditional | tag:GetResources |
KMS: 2 actions
- kms:DescribeKey (Read)
- kms:ListAliases (List)
Redshift: 1 actions
- redshift:DescribeClusters (List)
Redshift Serverless: 2 actions
- redshift-serverless:ListNamespaces (List)
- redshift-serverless:ListWorkgroups (List)
Secrets Manager: 4 actions
- secretsmanager:CreateSecret (Write)
- secretsmanager:DeleteSecret (Write)
- secretsmanager:GetSecretValue (Read)
- secretsmanager:TagResource (Tagging)
Resource Group Tagging: 1 actions
- tag:GetResources (Read)
Data-plane actions (0)
By access level: none.
This policy grants no actions in this plane.
Excluded and conditional actions
No patterns are excluded by NotAction or Deny statements.
Resource scope and attachment
Resource scope across granted actions: mixed.
Can be attached: Yes, to users, groups and roles.
Why this tier
- Grants at least 80% of the write and permissions-management actions of: sqlworkbench (45 of 45).
Guidance
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Related policies
Same service
- AmazonDataZoneEnvironmentRolePermissionsBoundary
- AmazonDataZoneProjectRolePermissionsBoundary
- AmazonRedshiftQueryEditorV2NoSharing
- AmazonRedshiftQueryEditorV2ReadSharing
- AmazonRedshiftQueryEditorV2ReadWriteSharing
- SageMakerStudioBedrockKnowledgeBaseServiceRolePolicy
Same domain
Frequently asked questions
Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.
Policy JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "RedshiftPermissions",
"Effect": "Allow",
"Action": [
"redshift:DescribeClusters",
"redshift-serverless:ListNamespaces",
"redshift-serverless:ListWorkgroups"
],
"Resource": "*"
},
{
"Sid": "KeyManagementServicePermissions",
"Effect": "Allow",
"Action": [
"kms:DescribeKey",
"kms:ListAliases"
],
"Resource": "*"
},
{
"Sid": "SecretsManagerPermissions",
"Effect": "Allow",
"Action": [
"secretsmanager:CreateSecret",
"secretsmanager:GetSecretValue",
"secretsmanager:DeleteSecret",
"secretsmanager:TagResource"
],
"Resource": "arn:aws:secretsmanager:*:*:sqlworkbench!*"
},
{
"Sid": "ResourceGroupsTaggingPermissions",
"Effect": "Allow",
"Action": [
"tag:GetResources"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:CalledViaLast": "sqlworkbench.amazonaws.com"
}
}
},
{
"Sid": "AmazonRedshiftQueryEditorV2Permissions",
"Effect": "Allow",
"Action": "sqlworkbench:*",
"Resource": "*"
}
]
}
Version history
Current version v3, edited by AWS on 2024-02-21. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.
Attach snippets
AWS CLI
aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonRedshiftQueryEditorV2FullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonRedshiftQueryEditorV2FullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonRedshiftQueryEditorV2FullAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AmazonRedshiftQueryEditorV2FullAccessTerraform
resource "aws_iam_role_policy_attachment" "amazonredshiftqueryeditorv2fullaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AmazonRedshiftQueryEditorV2FullAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonRedshiftQueryEditorV2FullAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.