pub fn resolve_credential_store_with(
flag: Option<CredentialStore>,
env: Option<&str>,
file: &EngineConfig,
) -> CredentialStoreExpand description
Resolves the effective CredentialStore from explicit inputs.
Pure and side-effect free so the precedence is unit-testable without touching
process state. Precedence (highest first): CLI flag, then env (an invalid
value is logged and ignored, falling through), then the config file, then
the default CredentialStore::Keyring.