pub struct Config {Show 21 fields
pub server: Option<ServerSection>,
pub zone: Option<ZoneSection>,
pub dns: Option<DnsSection>,
pub tls: Option<TlsSection>,
pub blobs: Option<BlobsSection>,
pub capacity: Option<CapacitySection>,
pub pool: Option<Vec<PoolSection>>,
pub names: Option<NamesSection>,
pub park: Option<ParkSection>,
pub tree: Option<TreeSection>,
pub oidc: Option<OidcSection>,
pub sessions: Option<SessionsSection>,
pub credential: Option<CredentialSection>,
pub intervals: Option<IntervalsSection>,
pub disclosure: Option<DisclosureSection>,
pub operator: Option<OperatorSection>,
pub oauth: Option<OAuthSection>,
pub policy: Option<PolicySection>,
pub relay: Option<RelaySection>,
pub writes: Option<WritesSection>,
pub proxy: Option<ProxySection>,
}Expand description
The whole file, one optional table per section.
A section an operator has not written is a section this binary decides
on its own, the same as a flag nobody passed — so every field here is
Option, and an empty file parses to a Config of every section absent
rather than an error.
Fields§
§server: Option<ServerSection>[server] — bind address, port.
zone: Option<ZoneSection>[zone] — the zones accounts are minted under, and who answers for them.
dns: Option<DnsSection>[dns] — provider selection and its zone.
tls: Option<TlsSection>[tls] — ACME environment, contact, certificate source.
blobs: Option<BlobsSection>[blobs] — max size, the per-account and total quotas, retention
window.
capacity: Option<CapacitySection>[capacity] — how many accounts this deployment may hold.
pool: Option<Vec<PoolSection>>[[pool]] — named sources of names: which zones and labels each
holds, and how it makes a name.
names: Option<NamesSection>[names] — the naming spec, its fallback, the number encoding
and the hold period.
park: Option<ParkSection>[park] — how bot.did.parkKey holds a key.
tree: Option<TreeSection>[tree] — the shape one creator may give the ownership tree.
oidc: Option<OidcSection>[oidc] — which issuers’ tokens are accepted, and how fresh.
sessions: Option<SessionsSection>[sessions] — sessions minted from a proof.
credential: Option<CredentialSection>[credential] — how long the agent token provisioning mints lasts.
intervals: Option<IntervalsSection>[intervals] — how often each background loop runs.
disclosure: Option<DisclosureSection>[disclosure] — which bot.did.* routes this run has closed.
operator: Option<OperatorSection>[operator] — the operator sign-in’s session lifetime, and the
grace window an unreachable operator gets.
oauth: Option<OAuthSection>[oauth] — the scope ceiling, the pending-decision bounds, and the
resolver permission sets are found through.
policy: Option<PolicySection>[policy] — which DID’s records to read as policy.
relay: Option<RelaySection>[relay] — which relays an operator’s announce reaches.
writes: Option<WritesSection>[writes] — how fast one account may write.
proxy: Option<ProxySection>[proxy] — what one account may spend of atproto-proxy.