Skip to main content

credentials_dir

Function credentials_dir 

Source
pub fn credentials_dir() -> Result<PathBuf>
Expand description

Resolve the credentials/secrets directory via the unified config resolver.

Precedence is HYPRSTREAM__SECRETS__PATH, config [secrets].path, XDG <config_dir>/credentials, then error. Fails closed — NEVER falls back to a world-writable /tmp path or implicit /etc path for a secret-bearing dir.