ai.newnal.illi.home.setCustodyKey

Publish the root admin's X25519 custody public key on their member record; the private key stays in the root admin's Private Sphere.

Details · procedure
Kindprocedure
Authorityhome.illi.newnal.ai
Indexed
cid bafyreidaqmevmn2lirk3rehorc5d3yysnsk6rxqykalzh2rlp3d665ippi

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.publicKeyNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.keyIdNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Publish the root admin's X25519 custody public key on their member record; the private key stays in the root admin's Private Sphere.",
      "errors": [
        {
          "name": "NotRootAdmin"
        },
        {
          "name": "HomeNotFound"
        },
        {
          "name": "PdsUnavailable"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "keyId": {
              "maxLength": 64,
              "type": "string"
            },
            "publicKey": {
              "description": "base64url X25519 public key",
              "type": "string"
            }
          },
          "required": [
            "homeId",
            "keyId",
            "publicKey"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "keyId": {
              "type": "string"
            },
            "uri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "keyId"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.home.setCustodyKey",
  "lexicon": 1
}