Skip to main content

Module credentials

Module credentials 

Source
Expand description

Secure credential storage module

Provides secure storage for access tokens using:

  • Primary: System keyring (Secret Service on Linux, Keychain on macOS)
  • Fallback: AES-256-GCM encrypted file when keyring unavailable

The fallback is less secure as the encryption key is derived from machine identifiers, but provides functionality on headless systems.

TRACES: UR-012 | IR-014

Structs§

CredentialStore
Credential storage manager

Enums§

CredentialError
Error types for credential operations
CredentialResult
Result of a credential storage operation

Constants§

CREDENTIALS_FILENAME 🔒
SERVICE_NAME 🔒