Skip to main content

Module config

Module config 

Source
Expand description

Typed configuration and secret-loading helpers.

Structs§

HttpPrincipal
Authenticated HTTP principal. Only a SHA-256 token digest is retained.

Enums§

HttpSessionAffinity
How remote Initialize(first_call) requests select a durable shell session.

Constants§

MIN_HTTP_TOKEN_BYTES
Minimum accepted HTTP bearer-token length in bytes.

Functions§

env_flag
Read a boolean environment variable with one consistent spelling policy.
env_text
Read and trim a non-empty environment variable.
load_http_principals
Resolve either a legacy single principal or a multi-principal TOML file.
load_http_principals_with_policy
Resolve HTTP principals and apply single_principal_policy to legacy --token/--token-file/environment authentication.
load_secret_file
parse_bool
Parse common human-friendly boolean spellings.