Expand description
Typed configuration and secret-loading helpers.
Structs§
- Http
Principal - Authenticated HTTP principal. Only a SHA-256 token digest is retained.
Enums§
- Http
Session Affinity - 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_policyto legacy--token/--token-file/environment authentication. - load_
secret_ file - parse_
bool - Parse common human-friendly boolean spellings.