Dell Technologies ECS REST API

Search (SHIFT+S)




Update Access Key

POST /iam?Action=UpdateAccessKey

Changes the status of the specified access key from Active to Inactive, or vice versa. This operation can be used to disable a user's key as part of a key rotation workflow.


Query Parameters

AccessKeyIdThe access key ID for the access key ID and secret access key you want to delete.
StatusThe status you want to assign to the secret access key. Active means that the key can be used for API calls to AWS, while Inactive means that the key cannot be used.
UserNameName of the user whose access key is updated.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
UpdateAccessKeyResponse
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?UserName=tt1&AccessKeyId=AKIAFE4086C4F2E286DD&Status=Inactive&Action=UpdateAccessKey

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:UpdateAccessKeyResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:8f5d:27</RequestId>
    </ResponseMetadata>
</ns2:UpdateAccessKeyResponse>