Skip to main content

placeholder_ref

Function placeholder_ref 

Source
pub fn placeholder_ref(text: &str) -> Option<&str>
Expand description

The .env name inside a ${dotenv:NAME} / ${env:NAME} placeholder.

Our own folder never inlines a secret: where a Hermes home holds the value, we write the placeholder and keep the value in .env. A reader that took the placeholder for a value would put the placeholder TEXT in the vault and write it back as the secret on the next save.