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 ${NAME} reference, Hermes’s own form (docs/plans/hermes-compat.md row 5).

Our own folder never inlines a secret: where a Hermes home holds the value, we write the reference 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.