Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
Render parses and executes a Go template with custom functions. The data map is the dot context. The {{ username }} function returns the empty string; use RenderWithUsername to make a real identity available.
func RenderWithUsername ¶ added in v0.23.0
RenderWithUsername is Render with the {{ username }} function bound to the supplied identity. The sync engine passes the OS account the secrets are laid out under (kv/users/<username>/...), so a rule template can build paths like /home/{{ username }}/.ssh/dotvault.sock without the username having to be a field in the Vault secret.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.