pub fn generate_api_key(environment: &str) -> GeneratedApiKeyExpand description
Generate a new API key for the given environment.
Returns a GeneratedApiKey with the raw key (show once), a prefix for
database lookup, and a SHA-256 hash for storage.