Expand description
Credential resolution: keychain → environment variable → config file → None.
Credentials are stored in the macOS Keychain via the security CLI tool,
which avoids per-binary authorization prompts that the keyring crate triggers.
Each source has one or more named secrets stored as generic passwords
with service “scitadel” and the key as the account name.
Structs§
- Credential
Key - Missing
Credential - A credential that was not found, with instructions on how to set it.
- Source
Credentials - Definitions of credentials required by each source.
Statics§
- ALL_
SOURCES - All sources that support authentication.
- EPO_
CREDENTIALS - LENS_
CREDENTIALS - OPENALEX_
CREDENTIALS - PATENTSVIEW_
CREDENTIALS - PUBMED_
CREDENTIALS
Functions§
- check_
source - Check whether a source has all required credentials configured.
- delete
- Delete a credential from the macOS Keychain via
securityCLI. - get_
keychain - Get a credential from the macOS Keychain via
securityCLI. - resolve
- Get a credential value by trying keychain, then env var, then config fallback.
- store
- Store a credential in the macOS Keychain via
securityCLI.