Returns information about the access key IDs associated with the specified IAM user. If there is none, the operation returns an empty list.
Marker | Marker is obtained from paginated response from the previous query. Use this only if the response indicates it is truncated. |
MaxItems | Indicates the maximum number of elements to be returned in the response. |
PathPrefix | Path prefix for filtering the results. Optional, default to "/". Only "/" is allowed. |
UserName | Name of the user to list accesskeys. |
This call has no restrictions.
No Request Payload
Field | Description | Type | Notes |
ListAccessKeysResponse | |||
ListAccessKeysResult | |||
AccessKeys |
0-* Elements |
||
IsTruncated | A flag that indicates whether there are more items to return. | Boolean | |
Marker | When isTruncated is true, this element needs to be sent in the Marker parameter for subsequent pagination requests. | String | |
ResponseMetadata | |||
RequestId | String |
POST https://192.168.0.0:4443/iam?UserName=tt1&Action=ListAccessKeys Accept: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> x-emc-namespace: <namespace>
HTTP/1.1 200 OK <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:ListAccessKeysResponse xmlns:ns2="none"> <ResponseMetadata> <RequestId>0af9f5b8:17178fe9282:87ef:b</RequestId> </ResponseMetadata> <ListAccessKeysResult> <AccessKeyMetadata> <member> <AccessKeyId>AKIA681EB7D2520E6455</AccessKeyId> <CreateDate>2020-04-15T14:14:37Z</CreateDate> <Status>Active</Status> <UserName>tt1</UserName> </member> <member> <AccessKeyId>AKIAFE4086C4F2E286DD</AccessKeyId> <CreateDate>2020-04-15T14:15:29Z</CreateDate> <Status>Active</Status> <UserName>tt1</UserName> </member> </AccessKeyMetadata> <IsTruncated>false</IsTruncated> </ListAccessKeysResult> </ns2:ListAccessKeysResponse>