Expand description
API key management module for secure retrieval from environment variables, .env files, and configuration files.
This module provides a unified interface for retrieving API keys for different providers, prioritizing security by checking environment variables first, then .env files, and finally falling back to configuration file values.
Structs§
- ApiKey
Sources - API key sources for different providers
Functions§
- get_
api_ key - Get API key for a specific provider with secure fallback mechanism
- load_
dotenv - Load environment variables from .env file