Function store_api_key
Source pub fn store_api_key(
key_name: &str,
api_key: &str,
) -> Result<(), CredentialError>
Expand description
Securely stores an API key in the OS-native credential store.
§Arguments
key_name - The name of the key (e.g., “nvidia_api_key”, “openai_api_key”)
api_key - The API key to store
§Returns
Ok(()) if the key was stored successfully
Err(CredentialError) if storage failed