Get the log key
get_log_keyRetrieve the public ES256 key for a data or authority log and where it is stored, creating it on first use so you can verify signatures and set up grant signing without exposing private keys.
Instructions
Return the public half of one of this server's keys (ES256, 64 bytes x‖y, as hex, base64 and an SPKI PEM) and where it lives, creating it on first use. which: "log" (the default) is the key that owns your data log: a grant issuer names it in the grant's grantData, and a grant naming any other key cannot carry statements this server signs. which: "authority" is the requester's key that owns your authority log and signs the grants issue_grant makes. Never returns private key material.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| which | No | which key: "log" (default), the key that owns your data log and signs statements; or "authority", the requester's key that owns an authority log and signs the child grants issue_grant makes |