# app.brightblur.vault.deviceLink

> A device asking for the account's seed. The new device writes its public key; an existing device, once the user has compared the code both show, seals the seed to it and adds `sealedSeed`.

- Kind: record
- Record key: tid
- Authority: vault.brightblur.app
- Lexicon: 1
- Published by [joeinn.es](https://lexicon.garden/identity/did:plc:me4kozmcrc74z2wgkvqvkbfd), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.vault.deviceLink)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.vault.deviceLink/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.vault.deviceLink/analytics)

## Record (`app.brightblur.vault.deviceLink`)

Type: record · key tid

### Properties

- `approvedAt` (string · datetime)
- `createdAt` (string · datetime, required)
- `publicKey` (bytes, required): The new device's ephemeral X-Wing public key.
  - Constraints: minLength: 1216, maxLength: 1216
- `sealedSeed` (bytes): The seed, sealed to publicKey.
  - Constraints: minLength: 1, maxLength: 2048

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A device asking for the account's seed. The new device writes its public key; an existing device, once the user has compared the code both show, seals the seed to it and adds `sealedSeed`.",
      "key": "tid",
      "record": {
        "properties": {
          "approvedAt": {
            "format": "datetime",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "publicKey": {
            "description": "The new device's ephemeral X-Wing public key.",
            "maxLength": 1216,
            "minLength": 1216,
            "type": "bytes"
          },
          "sealedSeed": {
            "description": "The seed, sealed to publicKey.",
            "maxLength": 2048,
            "minLength": 1,
            "type": "bytes"
          }
        },
        "required": [
          "publicKey",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.brightblur.vault.deviceLink",
  "lexicon": 1
}
```
