Skip to content

Interface: DeviceGrant

Defined in: vault-core/src/device-grant.ts:30 (opens in a new tab)

A vault key sealed to one device. Opaque to anyone without that device's secret key.

PropertiesLink to this section

PropertyTypeDescriptionDefined in
ciphertextstringb64url(AES-256-GCM(vault key))vault-core/src/device-grant.ts:36 (opens in a new tab)
eph_pkstringhex(32-byte ephemeral X25519 public key)vault-core/src/device-grant.ts:32 (opens in a new tab)
noncestringb64url(12-byte nonce)vault-core/src/device-grant.ts:34 (opens in a new tab)