Expand description
Typed schema for server.toml.
The untyped config::Config is loaded by
manta_shared::common::config::get_server_configuration; this
module owns the typed deserialisation target.
The shape on disk is:
log = "info"
[server]
listen_address = "0.0.0.0"
port = 8443
cert = "/etc/manta/tls/server.crt"
key = "/etc/manta/tls/server.key"
console_inactivity_timeout_secs = 1800
auth_rate_limit_per_minute = 60
[sites.alps]
backend = "csm"
shasta_base_url = "https://api.alps.cscs.ch"
root_ca_cert_file = "/etc/manta/alps-ca.pem"ServerConfiguration is the top-level type; ServerSettings
and Site are its nested sections. There is no notion of an
“active” site — the server hosts every entry in [sites.*]
simultaneously and clients pick one per request via the
X-Manta-Site header.
Structs§
- Server
Configuration - Top-level configuration for the
manta-serverbinary. - Server
Settings - Server-only settings — TLS, listen address, console behaviour. Lives
under
[server]inserver.toml. - Site
- Connection details for a single ALPS site (CSM or OCHAMI instance).
Enums§
- Backend
Technology - Which backend API this site speaks.