storagegateway:DescribeChapCredentials

Read

storagegateway:DescribeChapCredentials is a Read access-level action in the storagegateway service. Grants permission to get an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair

Resource types

ARNs that storagegateway:DescribeChapCredentials can be scoped to in an IAM policy.

arn:${Partition}:storagegateway:${Region}:${Account}:gateway/${GatewayId}/target/${IscsiTarget} required
target

Condition keys

Keys you can use in the Condition block of a policy that grants storagegateway:DescribeChapCredentials.

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowStoragegatewayDescribeChapCredentials",
      "Effect": "Allow",
      "Action": "storagegateway:DescribeChapCredentials",
      "Resource": "*"
    }
  ]
}

Related actions in storagegateway

View all storagegateway actions →