Skip to main content

API_CREDENTIAL_FILE

Constant API_CREDENTIAL_FILE 

Source
pub const API_CREDENTIAL_FILE: &str = "api-credential";
Expand description

The file, under the state directory, a server before this one generated its API credential into, as plaintext. A start converts it into API_CREDENTIAL_VERIFIER_FILE and deletes it, so the credential it held keeps authenticating while nothing the service’s user can read holds it.