Create an access key version
POST https://{{host}}/cam/v1/access-keys/:accessKeyUid/versions
Rotates an access key to a new version. You should only need to do this if your cloud provider credentials have changed, for example because they've expired or been compromised. Only two versions of an access key can exist and be active at the same time. If you have two access key versions you have to delete one of them before you can create another version.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
Request Body
{"cloudAccessKeyId"=>"AKAMAICAMKEYID2EXAMPLE", "cloudSecretAccessKey"=>"cDdrcAMtrIAvN/h7dF/bAxLfiANAXAMPLEKEY"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |