Skip to content

Type Alias: MintKeyResult

type MintKeyResult = object;

Defined in: packages/sdk/src/index.ts:849

Response from client.mintKey() — the plaintext key is present here exactly once (SK-APIKEYS-002).

Property Type Description Defined in
device? string - packages/sdk/src/index.ts:861
host? string - packages/sdk/src/index.ts:860
id string - packages/sdk/src/index.ts:850
key string Full plaintext — present exactly once on the mint response, never again. Surfaces render it inside a copy-once affordance and drop the value from memory once dismissed. packages/sdk/src/index.ts:855
last4 string - packages/sdk/src/index.ts:856
name? string Echoes the request claims so a wrapping UI can render the row without a follow-up listKeys() round-trip. packages/sdk/src/index.ts:859
type "sk_live" | "sk_mcp" - packages/sdk/src/index.ts:851