redshift:GetClusterCredentials

Write

redshift:GetClusterCredentials is a Write access-level action in the redshift service. Grants permission to get temporary credentials to access an Amazon Redshift database by the specified AWS account

Resource types

ARNs that redshift:GetClusterCredentials can be scoped to in an IAM policy.

arn:${Partition}:redshift:${Region}:${Account}:dbuser:${ClusterName}/${DbUser}
dbuser
arn:${Partition}:redshift:${Region}:${Account}:dbname:${ClusterName}/${DbName}
dbname

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows redshift:GetClusterCredentials. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRedshiftGetClusterCredentials",
      "Effect": "Allow",
      "Action": "redshift:GetClusterCredentials",
      "Resource": "*"
    }
  ]
}

Related actions in redshift

View all redshift actions →