CreateAccessKey
GET /?Action=CreateAccessKey
Description
Creates a new secret access key and the corresponding access key ID for the account that sends the request.
The created access key is automatically set to active.
|
Note
|
To protect against brute force attacks, the number of requests allowed for this method in a given time period is limited. |
Body parameter
Required: false
Name: CreateAccessKeyRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
AccessKeyId |
The ID of the access key. If not provided, it will be created automatically. |
false |
string |
||
SecretAccessKey |
The secret access key that enables you to send requests. If not provided, it will be created automatically. |
false |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
CreateAccessKeyResponse |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
AccessKey |
Information about the new created access key. |
false |
|||
ResponseMetadata |
Information about the response. |
false |