Skip to main content

auth_key

Function auth_key 

Source
pub async fn auth_key(auth_service: &str) -> Result<PublicKey, Box<dyn Error>>
Expand description

The key the auth service signs tokens with: AUTH_PUBLIC_KEY if set, otherwise fetched from the auth service at auth_service (waiting a while for it to start). Set the key explicitly unless the network between the services is trusted.