# com.fedproxy.sshPublicKey

> 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.fedproxy.sshPublicKey)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.fedproxy.sshPublicKey/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5svqtrhheairglgiiyvutzik/com.fedproxy.sshPublicKey/examples)

## Definitions

### `com.fedproxy.sshPublicKey`

**Type**: `record`

SSH public key registration record for fedproxy tunnel authentication. Associates an SSH public key with a fedproxy service name so the tunnel can verify connecting clients.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `service` | `string` | Yes | Fedproxy service name this SSH key is registered for (e.g. attest, compute). Must match a service configured on the fedproxy host. |
| `createdAt` | `string` (datetime) | Yes |  |
| `publicKey` | `string` | Yes | SSH public key in OpenSSH authorized_keys format (e.g. ssh-ed25519 AAAA...). |

## Raw Schema

```json
{
  "id": "com.fedproxy.sshPublicKey",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "service",
          "publicKey",
          "createdAt"
        ],
        "properties": {
          "service": {
            "type": "string",
            "description": "Fedproxy service name this SSH key is registered for (e.g. attest, compute). Must match a service configured on the fedproxy host."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "publicKey": {
            "type": "string",
            "description": "SSH public key in OpenSSH authorized_keys format (e.g. ssh-ed25519 AAAA...)."
          }
        }
      },
      "description": "SSH public key registration record for fedproxy tunnel authentication. Associates an SSH public key with a fedproxy service name so the tunnel can verify connecting clients."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
