GetSDKKeysData
June 9, 2026 ยท View on GitHub
Shared metadata for a Flags SDK key, safe to return on both LIST and CREATE. Never contains cleartext secrets.
Example Usage
import { GetSDKKeysData } from "@vercel/sdk/models/getsdkkeysop.js";
let value: GetSDKKeysData = {
hashKey: "<value>",
projectId: "<id>",
type: "server",
environment: "<value>",
createdBy: "<value>",
createdAt: 2509.12,
updatedAt: 5488.04,
partialKeyValue: "<value>",
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
hashKey | string | :heavy_check_mark: | N/A |
projectId | string | :heavy_check_mark: | N/A |
type | models.GetSDKKeysType | :heavy_check_mark: | N/A |
environment | string | :heavy_check_mark: | N/A |
createdBy | string | :heavy_check_mark: | N/A |
createdAt | number | :heavy_check_mark: | N/A |
updatedAt | number | :heavy_check_mark: | N/A |
label | string | :heavy_minus_sign: | N/A |
deletedAt | number | :heavy_minus_sign: | N/A |
partialKeyValue | string | :heavy_check_mark: | Partially-masked representation of the SDK key value, safe to display in UIs. The value is the vf_<type>_ prefix followed by the first 3 characters of the secret portion and a fixed 8-character * mask (e.g. vf_server_abc********). |