pub struct CliConfiguration {
pub log: String,
pub audit_file: String,
pub site: String,
pub parent_hsm_group: String,
pub manta_server_url: String,
pub socks5_proxy: Option<String>,
pub auditor: Option<Auditor>,
}Expand description
Top-level configuration for the manta-cli binary. Persisted as TOML
under ~/.config/manta/cli.toml. Carries only the fields the CLI uses
— every backend connection detail (per-site URLs, TLS certs, vault,
k8s, per-site SOCKS proxies) lives in ServerConfiguration. The CLI
only knows about the one manta-server it talks to.
Fields§
§log: StringEnvFilter directive string for the tracing subscriber
(e.g. "info", "manta=debug,hyper=warn").
audit_file: StringPath to the local file the CLI appends audit lines to.
site: StringActive site name, sent as the X-Manta-Site header on every
request to manta-server. Overridable per-invocation with --site.
The server validates that the name matches one of its configured
sites; the CLI does no local validation.
parent_hsm_group: StringDefault HSM group threaded into commands that accept
--hsm-group when none is supplied on the command line.
manta_server_url: StringURL of the manta HTTP server this CLI talks to. Required — the CLI
no longer calls CSM/OCHAMI backends directly; every operation
(including auth) is forwarded through manta-server.
socks5_proxy: Option<String>Optional SOCKS5 proxy used to reach manta_server_url. Per-site
proxying for backend traffic is the server’s concern.
auditor: Option<Auditor>Optional Kafka audit forwarder. When None, the CLI emits no
audit messages.