Skip to main content

Module credentials

Module credentials 

Source
Expand description

Choosing and using the configured credential backend.

leviath_core::credentials defines the vocabulary and the CredentialStore trait; leviath_sys::keychain owns the OS binding and its no-store fallback. This module is the seam between them: it turns a [security] credential_store setting into something the config loader and the lev auth command can call.

Structs§

KeychainStore
A CredentialStore backed by the OS credential store.

Constants§

PROVIDER_KEYS
The provider API keys Leviath knows how to move into a credential store.

Functions§

store_for
The store named by kind, or None when secrets belong in Leviath’s own files.

Type Aliases§

Resolved
The resolved backend: Ok(None) for the file store, Ok(Some(_)) for a working keychain, Err for a keychain that was asked for but is unreachable.