Skip to main content

Module api_keys_store

Module api_keys_store 

Source
Expand description

API Keys Store — Machine-specific encryption with SQLite storage

Stores and manages API keys using machine-specific XOR encryption stored directly in SQLite. No OS keychain, no password prompts, no external dependencies.

Encryption uses the machine’s device name as the key, ensuring that keys can only be decrypted on the same machine where they were encrypted.

Structs§

ApiKeyRecord
Metadata record stored in SQLite. encrypted_value is always a base64-encoded XOR-encrypted string.
ApiKeysStore
Manages API keys with machine-specific encryption stored in SQLite.
Encryption
Machine-specific XOR encryption for API keys. Uses the device name as the encryption key. Keys can only be decrypted on the same machine where they were encrypted.

Enums§

ApiKeyType
Identifies which external service a key belongs to.