# org.tangled.key.sshKey

> ssh public key

- Kind: record
- Record key: tid
- Authority: key.tangled.org
- Lexicon: 1
- Published by [tangled.org](https://lexicon.garden/identity/did:plc:wshs7t2adsemcrrd4snkeqli), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.key.sshKey)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.key.sshKey/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshs7t2adsemcrrd4snkeqli/org.tangled.key.sshKey/analytics)

## Record (`org.tangled.key.sshKey`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `name` (string, required): human-readable name for this key
  - Constraints: maxLength: 255
- `publicKey` (string, required): public key in OpenSSH authorized_keys format
  - Constraints: maxLength: 4096
- `usages` (array): default to `["auth", "sign"]` when omitted.
  - Constraints: minLength: 1
  - `items` (string)
    - Constraints: knownValues: auth | sign

## 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
}
```
