Skip to main content

load_static_key

Function load_static_key 

Source
pub fn load_static_key(provider: &str) -> Result<Option<String>, String>
Expand description

Load one provider’s broker-owned static API key from auth.json.

Static keys are persisted as {"type":"api_key","key":"…"} entries in the same open JSON object as OAuth credentials, so unknown providers and provider metadata round-trip through the exact same merge writer.