# com.publicdomainrelay.temp.badgeBlueKeys

> Published by [johnandersen777.bsky.social](https://lexicon.garden/identity/did:plc:5svqtrhheairglgiiyvutzik)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.badgeBlueKeys)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.badgeBlueKeys/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.publicdomainrelay.temp.badgeBlueKeys/examples)

## Definitions

### `com.publicdomainrelay.temp.badgeBlueKeys`

**Type**: `record`

Associates a device key with a DID, enabling key→DID lookup for vouch graph traversal and service authorization.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No | Human-readable name or label for this key association (e.g. hostname). |
| `keyId` | `string` | Yes | Identifier for the device key (e.g. soft-<uuid> or a did:key). |
| `service` | `string` | No | Service scope for this key association. |
| `challenge` | `string` (did) | Yes | DID that this key is bound to. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "com.publicdomainrelay.temp.badgeBlueKeys",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "keyId",
          "challenge",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Human-readable name or label for this key association (e.g. hostname)."
          },
          "keyId": {
            "type": "string",
            "description": "Identifier for the device key (e.g. soft-<uuid> or a did:key)."
          },
          "service": {
            "type": "string",
            "description": "Service scope for this key association."
          },
          "challenge": {
            "type": "string",
            "format": "did",
            "description": "DID that this key is bound to."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "Associates a device key with a DID, enabling key→DID lookup for vouch graph traversal and service authorization."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
