Skip to main content

Module secure_storage

Module secure_storage 

Source
Expand description

Secure storage for sensitive configuration values.

This module provides optional secure storage for API keys and other sensitive data using the system keychain when available.

Platform support:

  • macOS: Uses the macOS Keychain via Security Framework
  • Linux: Uses Secret Service API (GNOME Keyring, KWallet, etc.)
  • Windows: Uses Windows Credential Manager (wincred)
  • iOS: Uses iOS Keychain Services
  • FreeBSD/OpenBSD: Uses Secret Service if available

Functionsยง

delete_secret
Delete a secret from the system keyring.
get_platform_info
Get detailed platform information for secure storage
get_secret
Retrieve a secret from the system keyring.
is_available
Check if secure storage is available on this system.
status_message
Returns a user-friendly message about the secure storage status.
store_secret
Store a secret securely in the system keyring.