Expand description
One struct per [section], read from the real flag set and from
didbot-serve/src/routes.rs’s constants — see the crate root for which
of these a caller actually applies today.
Every struct here carries #[serde(deny_unknown_fields)] and every field
is optional: a section an operator has not written is a section this
binary decides on its own, the same as a flag nobody passed. What a
section may not hold is a scope, a permission, or an allowlist of
apps — see the crate root’s doc for why.
Structs§
- Blobs
Section - What one blob, one account’s blobs, and every account’s blobs together may come to.
- Capacity
Section - How many accounts this deployment may hold at once, and other bounds on what this deployment keeps rather than what an agent may do.
- Credential
Section - The bearer credential provisioning mints for a freshly created account.
- Disclosure
Section - Which
bot.did.*routes this deployment has closed to a public, unauthenticated caller. - DnsSection
- DNS provider selection, once
dns-providerslands a second backend. - Intervals
Section - How often each background loop runs.
- Names
Section - How agents are named.
- OAuth
Section - The authorization server’s own bounds: the scope ceiling every grant is narrowed to, how many decisions may sit undecided at once, and the resolver it finds a permission set’s authority through.
- Oidc
Section - Which OpenID Connect issuers this server will fetch keys from, and how fresh a token has to be.
- Operator
Section - The operator: how long their sign-in lasts, and how long their claim outlives a poll that cannot see it.
- Park
Section - How
bot.did.parkKeyholds a key and bounds who may park one. - Policy
Section - Which DID’s records this server reads as policy, once
policy-storeexists to read anything. - Pool
Section - One named source of names: the zones and labels it holds, and how it
makes a name. See
plan/pools.md. - Proxy
Section - What one account may spend of
atproto-proxy, which forwards a call to whatever service a DID document names, from this server’s address. - Relay
Section - Which relays
didbot announceand the dashboard’sPOST /dashboard/api/relay/announceannounce this server to, overcom.atproto.sync.requestCrawlandnotifyOfUpdate. Every relay named by either key is asked,hostnamefirst, and a relay named twice is asked once. - Server
Section - Where the server binds and listens.
- Sessions
Section - The sessions this server issues from a proof.
- TlsSection
- TLS certificate sourcing, mirroring
didbot-tls’s configuration surface. - Tree
Section - The shape one creator may give the ownership tree, enforced by the server whatever policy says.
- Writes
Section - How fast one account may write, as two token buckets: one on write
operations and one on request bytes. See
didbot_serve::write_meter. - Zone
Section - The zones accounts are minted under, and who answers for them.