GET /platform/v1/key/type

Overview

Retrieves supported key algorithms and appropriate key lengths. Data at Rest Encryption is a prerequisite for this feature.

URL Parameters

Name Type Description
x-request-id string Header parameter: Request ID for the request. Default Format: d0b531e1-9e61-43e4-bf1b-4b8dc49a16c2
x-mccs-user-context string Header parameter: Indicates the MCCS user context. Example: EID=111;MID=111;EmployeeId=111.
x-mccs-keystore-provider string Header parameter: Specify a key store provider to use for an ImportKey or WrappingKey request. Examples: kms, keysecure, database. Default: keysecure.
x-mccs-mac string Header parameter: Specify the message authentication code for the request.

Usage

Example Request

Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
GET /platform/v1/key/type
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN

Example Response

HTTP/1.1 200 (OK)
{
    "key": "RSA",
    "value": 2048
}
Last Updated: Jun 8, 2021