Accesskeys
Per user access key.
This tag groups all operations for accesskeys.
This endpoint enables retrieving all Accesskeys using pagination and optional filters.
The first element (of the total list of elements) to include in the response. Use together with limit for pagination.
0
Example: 0
The maximum number of elements to return. Use together with offset for pagination.
100
Example: 100
The accesskey ID to filter by.
GET /accesskeys HTTP/1.1
Host: s3.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "5cd907ee-6b6a-5e3a-abaf-5c2edd01d78c",
"type": "collection",
"href": "/accesskeys",
"items": [
{
"id": "fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"type": "accesskey",
"href": "/accesskeys/fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"status": "AVAILABLE",
"statusMessage": null,
"administrative": false,
"supportedRegions": [
"de",
"eu-central-2",
"eu-south-2"
]
},
"properties": {
"description": "Access key details",
"accessKey": "00000Du4KiV8A1tGUbjI2Ky1YmXqXnCpaQpgWw6_1V5fhMPRnAAAAAEIkfcQAAAAAAiR9xAioHCB_FWuNJ4un864Pouw",
"secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
"canonicalUserId": "a73e086eeaaa03e21e4e932ac8a2ed7a",
"contractUserId": "11111111:00000000-0000-0000-0000-000000000000"
}
}
],
"offset": 0,
"limit": 42,
"_links": {
"prev": "http://PREVIOUS-PAGE-URI",
"self": "http://THIS-PAGE-URI",
"next": "http://NEXT-PAGE-URI"
}
}
Creates a new AccessKey.
The full AccessKey needs to be provided to create the object. Optional data will be filled with defaults or left empty.
Metadata
POST /accesskeys HTTP/1.1
Host: s3.ionos.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 65
{
"metadata": {},
"properties": {
"description": "Access key details"
}
}
{
"id": "fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"type": "accesskey",
"href": "/accesskeys/fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"status": "AVAILABLE",
"statusMessage": null,
"administrative": false,
"supportedRegions": [
"de",
"eu-central-2",
"eu-south-2"
]
},
"properties": {
"description": "Access key details",
"accessKey": "00000Du4KiV8A1tGUbjI2Ky1YmXqXnCpaQpgWw6_1V5fhMPRnAAAAAEIkfcQAAAAAAiR9xAioHCB_FWuNJ4un864Pouw",
"secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
"canonicalUserId": "a73e086eeaaa03e21e4e932ac8a2ed7a",
"contractUserId": "11111111:00000000-0000-0000-0000-000000000000"
}
}
Returns the AccessKey by ID.
The ID (UUID) of the AccessKey.
fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af
GET /accesskeys/{accesskeyId} HTTP/1.1
Host: s3.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"type": "accesskey",
"href": "/accesskeys/fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"status": "AVAILABLE",
"statusMessage": null,
"administrative": false,
"supportedRegions": [
"de",
"eu-central-2",
"eu-south-2"
]
},
"properties": {
"description": "Access key details",
"accessKey": "00000Du4KiV8A1tGUbjI2Ky1YmXqXnCpaQpgWw6_1V5fhMPRnAAAAAEIkfcQAAAAAAiR9xAioHCB_FWuNJ4un864Pouw",
"secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
"canonicalUserId": "a73e086eeaaa03e21e4e932ac8a2ed7a",
"contractUserId": "11111111:00000000-0000-0000-0000-000000000000"
}
}
Ensures that the AccessKey with the provided ID is created or modified. The full AccessKey needs to be provided to ensure (either update or create) the AccessKey. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.
The ID (UUID) of the AccessKey.
fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af
The ID (UUID) of the AccessKey.
fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af
Metadata
PUT /accesskeys/{accesskeyId} HTTP/1.1
Host: s3.ionos.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 109
{
"id": "fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"metadata": {},
"properties": {
"description": "Access key details"
}
}
{
"id": "fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"type": "accesskey",
"href": "/accesskeys/fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"status": "AVAILABLE",
"statusMessage": null,
"administrative": false,
"supportedRegions": [
"de",
"eu-central-2",
"eu-south-2"
]
},
"properties": {
"description": "Access key details",
"accessKey": "00000Du4KiV8A1tGUbjI2Ky1YmXqXnCpaQpgWw6_1V5fhMPRnAAAAAEIkfcQAAAAAAiR9xAioHCB_FWuNJ4un864Pouw",
"secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
"canonicalUserId": "a73e086eeaaa03e21e4e932ac8a2ed7a",
"contractUserId": "11111111:00000000-0000-0000-0000-000000000000"
}
}
Deletes the specified AccessKey.
The ID (UUID) of the AccessKey.
fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af
DELETE /accesskeys/{accesskeyId} HTTP/1.1
Host: s3.ionos.com
Authorization: Bearer JWT
Accept: */*
No content
Renew will replace the existing secret access key with a new one.
The ID (UUID) of the AccessKey that should be ensured.
fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af
PUT /accesskeys/{accesskeyId}/renew HTTP/1.1
Host: s3.ionos.com
Authorization: Bearer JWT
Accept: */*
{
"id": "fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"type": "accesskey",
"href": "/accesskeys/fb68d39a-5706-51b4-b2b2-7b4bf9cbf0af",
"metadata": {
"createdDate": "2020-12-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2020-12-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"status": "AVAILABLE",
"statusMessage": null,
"administrative": false,
"supportedRegions": [
"de",
"eu-central-2",
"eu-south-2"
]
},
"properties": {
"description": "Access key details",
"accessKey": "00000Du4KiV8A1tGUbjI2Ky1YmXqXnCpaQpgWw6_1V5fhMPRnAAAAAEIkfcQAAAAAAiR9xAioHCB_FWuNJ4un864Pouw",
"secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
"canonicalUserId": "a73e086eeaaa03e21e4e932ac8a2ed7a",
"contractUserId": "11111111:00000000-0000-0000-0000-000000000000"
}
}
Was this helpful?