# org.tangled.key.sshKey

> Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.key.sshKey)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.key.sshKey/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.key.sshKey/examples)

## Definitions

### `org.tangled.key.sshKey`

**Type**: `record`

ssh public key

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `name` | `string` | Yes | human-readable name for this key |
| `publicKey` | `string` | Yes | public key in OpenSSH authorized_keys format |
| `usages` | `array` | No | default to `["auth", "sign"]` when omitted. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "ssh public key",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "description": "human-readable name for this key",
            "maxLength": 255,
            "type": "string"
          },
          "publicKey": {
            "description": "public key in OpenSSH authorized_keys format",
            "maxLength": 4096,
            "type": "string"
          },
          "usages": {
            "description": "default to `[\"auth\", \"sign\"]` when omitted.",
            "items": {
              "knownValues": [
                "auth",
                "sign"
              ],
              "type": "string"
            },
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "name",
          "publicKey",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.tangled.key.sshKey",
  "lexicon": 1
}
```
