Skip to main content

registry_token_var

Function registry_token_var 

Source
pub fn registry_token_var(name: &str) -> String
Expand description

The environment variable a registry’s token is read from (track §6.1): BYNK_REGISTRY_<NAME>_TOKEN, the name uppercased with - mapped to _. A registry name holds no _, so two names never share a variable.