Expand description
Credential storage — keyring and encrypted-file backends.
§Module Structure
| Submodule | Responsibility |
|---|---|
| mode | Backend selection enum (Keyring / File / Auto) |
| keyring | OS keyring creation, liveness, disable detection |
| encryption | AES-256-GCM encrypt/decrypt (pure, no IO) |
| storage | CredentialStorage — orchestrates backends |
| legacy | Legacy auth.json migration |
Structs§
- Credential
Identity - Validated identity for a stored provider credential.
- Credential
Storage - Generic credential storage interface.
- Custom
ApiKey Storage - Custom API Key storage for provider-specific keys.
Enums§
- Auth
Credentials Store Mode - Preferred storage backend for credentials.
Functions§
- clear_
custom_ api_ keys - Clear all custom API keys from secure storage.
- load_
custom_ api_ keys - Load all custom API keys from secure storage.
- migrate_
custom_ api_ keys - Migrate plain-text API keys from a config map into secure storage.