Download OpenAPI specification:Download
List customer managed encryption keys
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[after] | string Example: page[after]=ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ Request the next page of data, starting with the item after this parameter. |
| page[before] | string Example: page[before]=ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ Request the next page of data, starting with the item before this parameter. |
object Filter CMEKs returned in the response. |
{- "data": [
- {
- "id": "default",
- "name": "My KMS Key",
- "description": "My Key Description",
- "key_arn": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
- "created_at": "2023-03-20T09:29:14.52Z",
- "updated_at": "2023-03-21T09:29:14.52Z"
}, - {
- "id": "alt-key",
- "name": "Alternative KMS Key",
- "description": "My Other Key",
- "key_arn": "arn:aws:kms:us-east-1:123456789012:key/62ab5b30-aa25-4903-be45-b6c696f75fe9",
- "created_at": "2024-02-20T09:29:14.52Z",
- "updated_at": "2024-02-21T09:29:14.52Z"
}
], - "meta": {
- "page": {
- "next": "/v0/cmeks?page%5Bafter%5D=f11CXlAMGEVFB0AEQw19QhNYMV5CCkFYSltZUFgPSBJHFwwWFg%3D%3D&page%5Bsize%5=1",
- "previous": "/v0/cmeks?page%5Bbefore%5D=dl8UWVYPEUZFA0sHQw19EUVYMV5BDhcISl1WWVgNQRBBS1gSFw%3D%3D&page%5Bsize%5D=1",
- "size": 10
}
}
}Get a customer managed encryption key
| cmekId required | string Example: default Id of the CMEK |
{- "id": "default",
- "name": "My KMS Key",
- "description": "My Key Description",
- "key_arn": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
- "created_at": "2023-03-20T09:29:14.52Z",
- "updated_at": "2023-03-21T09:29:14.52Z"
}Replace a customer managed encryption key
| cmekId required | string Example: default Id of the CMEK |
Request body schema for putting a CMEK.
| key_arn required | string The ARN of the KMS key to use for encryption |
| name | string |
| description | string |
{- "name": "My KMS Key",
- "description": "My Key Description",
- "key_arn": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012"
}{- "id": "default",
- "name": "My KMS Key",
- "description": "My Key Description",
- "key_arn": "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
- "created_at": "2023-03-20T09:29:14.52Z",
- "updated_at": "2023-03-21T09:29:14.52Z"
}Delete a customer managed encryption key
| cmekId required | string Example: default Id of the CMEK |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Get a raw decrypted blob
| blobId required | string Example: 680ed2c45c18562ab4448d54c6f962ff:reqres Id of the Blob |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Store a raw blob of data
| blobId required | string Example: 680ed2c45c18562ab4448d54c6f962ff:reqres Id of the Blob |
| X-Konnect-Expires-In | integer Default: 259200 Retention time (TTL) of the blob in seconds |
| X-Konnect-CMEK-Id | string Default: default The CMEK ID to use for encryption |
Raw blob data
{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}