Skip to main content

Module credentials

Module credentials 

Source
Expand description

Secure credential storage using OS-native keyring.

This module provides a secure way to store and retrieve API keys using the operating system’s native credential store:

  • Linux: libsecret or KWallet
  • macOS: Keychain
  • Windows: Credential Manager

Enums§

CredentialError
Errors that can occur during credential operations.

Functions§

delete_api_key
Deletes an API key from the OS-native credential store.
delete_nvidia_api_key
delete_openai_api_key
get_api_key
Retrieves an API key from the OS-native credential store.
get_nvidia_api_key
get_openai_api_key
is_secure_store_available
Checks if a secure credential store is available on this system.
store_api_key
Securely stores an API key in the OS-native credential store.
store_nvidia_api_key
Convenience function for NVIDIA API key operations.
store_openai_api_key
Convenience function for OpenAI API key operations.