# Interface: DeviceWrap

Defined in: [packages/core/src/identity/account-vault.ts:40](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L40)

A seed wrapped under a random key in one origin's storage, gated by a passkey (module:device-key)

## Extends

- `WrapBase`

## Properties

| Property | Modifier | Type | Description | Inherited from | Defined in |
| ------ | ------ | ------ | ------ | ------ | ------ |
| <a id="property-addedat"></a> `addedAt` | `readonly` | `string` | - | `WrapBase.addedAt` | [packages/core/src/identity/account-vault.ts:34](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L34) |
| <a id="property-credentialid"></a> `credentialId?` | `readonly` | `string` | The passkey that gates it, when one was used | - | [packages/core/src/identity/account-vault.ts:47](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L47) |
| <a id="property-devicekeyid"></a> `deviceKeyId` | `readonly` | `string` | Which local key opens it. Missing from this device means unopenable here. | - | [packages/core/src/identity/account-vault.ts:45](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L45) |
| <a id="property-id"></a> `id` | `readonly` | `string` | Distinguishes wraps within one file | `WrapBase.id` | [packages/core/src/identity/account-vault.ts:31](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L31) |
| <a id="property-kind"></a> `kind` | `readonly` | `"device"` | - | - | [packages/core/src/identity/account-vault.ts:41](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L41) |
| <a id="property-label"></a> `label` | `readonly` | `string` | Shown when asking which one to use | `WrapBase.label` | [packages/core/src/identity/account-vault.ts:33](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L33) |
| <a id="property-rpid"></a> `rpId` | `readonly` | `string` | The origin whose storage holds its key; no other origin can open it | - | [packages/core/src/identity/account-vault.ts:43](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L43) |
| <a id="property-sealed"></a> `sealed` | `readonly` | `string` | base64url of the envelope around the seed (spec 01 §9.1) | `WrapBase.sealed` | [packages/core/src/identity/account-vault.ts:36](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L36) |
| <a id="property-userhandle"></a> `userHandle?` | `readonly` | `string` | That passkey's user handle, base64url — what renaming its label needs | - | [packages/core/src/identity/account-vault.ts:49](https://github.com/leifriksheim/minca/blob/main/core/src/identity/account-vault.ts#L49) |
