# app.brightblur.vault.seed

> The account's BrightBlur seed, wrapped under one passkey's PRF output. One record per passkey; the record key is the first 16 bytes of SHA-256(credential id), in hex.

- Kind: record
- Record key: any
- 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.seed)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.vault.seed/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:me4kozmcrc74z2wgkvqvkbfd/app.brightblur.vault.seed/analytics)

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

Type: record · key any

### Properties

- `createdAt` (string · datetime, required)
- `credentialId` (bytes, required): The passkey's WebAuthn credential id.
  - Constraints: minLength: 1, maxLength: 1023
- `label` (string): A name the user gave this passkey.
  - Constraints: maxLength: 100
- `prfSaltInput` (string, required): The PRF salt is SHA-256("brightblur:" + this).
  - Constraints: maxLength: 512
- `wrappedSeed` (bytes, required): AES-GCM under a key from the passkey's PRF output.
  - Constraints: minLength: 1, maxLength: 512

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The account's BrightBlur seed, wrapped under one passkey's PRF output. One record per passkey; the record key is the first 16 bytes of SHA-256(credential id), in hex.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "credentialId": {
            "description": "The passkey's WebAuthn credential id.",
            "maxLength": 1023,
            "minLength": 1,
            "type": "bytes"
          },
          "label": {
            "description": "A name the user gave this passkey.",
            "maxLength": 100,
            "type": "string"
          },
          "prfSaltInput": {
            "description": "The PRF salt is SHA-256(\"brightblur:\" + this).",
            "maxLength": 512,
            "type": "string"
          },
          "wrappedSeed": {
            "description": "AES-GCM under a key from the passkey's PRF output.",
            "maxLength": 512,
            "minLength": 1,
            "type": "bytes"
          }
        },
        "required": [
          "credentialId",
          "prfSaltInput",
          "wrappedSeed",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.brightblur.vault.seed",
  "lexicon": 1
}
```
