Dell Technologies ECS REST API

Search (SHIFT+S)




Get Access Key Last Used

POST /iam?Action=GetAccessKeyLastUsed

Retrieves information about when the specified access key was last used.


Query Parameters

AccessKeyIdThe identifier of an access key.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
GetAccessKeyLastUsedResponse
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?UserName=tt1&AccessKeyId=AKIA681EB7D2520E6455&Action=GetAccessKeyLastUsed
Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:GetAccessKeyLastUsedResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:c9e6:68</RequestId>
    </ResponseMetadata>
    <GetAccessKeyLastUsedResult>
        <AccessKeyLastUsed>
            <LastUsedDate>2020-04-15T18:57:54Z</LastUsedDate>
            <Region>N/A</Region>
            <ServiceName>s3</ServiceName>
        </AccessKeyLastUsed>
        <UserName>tt1</UserName>
    </GetAccessKeyLastUsedResult>
</ns2:GetAccessKeyLastUsedResponse>