Delegate sealing for your log
delegate_sealingAuthorize an operator's sealer to publish signed checkpoints for your Forestrie data or authority log, so entries get sealed until expiry. Run once per log.
Instructions
Authorise the operator's sealer to publish checkpoints for your data log, signed with the log key. Without it entries sequence but are never sealed. If the coordinator has not learned the log's public root, this calls canopy's prepare with the same grant first. Run once per log; the delegation lasts until the returned expiresAt. With as: "authority" it does the same for your authority log, signed with the authority key, so the child grants you register there get sealed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | which key owns the log: "log" (default) for your data log, under the grant you register statements with; "authority" for your authority log, under its creation grant (FORESTRIE_AUTHORITY_GRANT), so the child grants register_grant sequences there get sealed | |
| grant | No | the Forestrie-Grant: base64 (standard or URL-safe) of the completed grant, or a path to a file holding it as raw bytes or base64 text; falls back to FORESTRIE_GRANT | |
| baseUrl | No | the canopy SCRAPI base URL; falls back to FORESTRIE_BASE_URL — never defaulted by the package itself | |
| ttlSeconds | No | how long the delegation lasts; defaults to the coordinator's suggestion | |
| coordinatorUrl | No | the delegation coordinator base URL; falls back to FORESTRIE_COORDINATOR_URL | |
| knownSealerKey | No | the registrar's voucher key, base64 of 64 bytes x‖y, as the operator publishes it; falls back to FORESTRIE_KNOWN_SEALER_KEY |