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
| Kind | procedure |
|---|---|
| Authority | home.illi.newnal.ai |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.publicKeyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.keyIdNo maxLength, maxGraphemes or format limits this string.
{
"$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
}