Skip to content

Type Alias: MintKeyResult

type MintKeyResult = object;

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

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:712
host? string - packages/sdk/src/index.ts:711
id string - packages/sdk/src/index.ts:701
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:706
last4 string - packages/sdk/src/index.ts:707
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:710
type "sk_live" | "sk_mcp" - packages/sdk/src/index.ts:702