template
Learn about configuring the vHSM Agent to fetch secrets and render them into files.
template {
source = "/etc/vhsm/templates/vhsm-token.ctmpl"
destination = "/run/enclaive/vhsm-token.json"
}Template File Example (vhsm-token.ctmpl)
vhsm-token.ctmpl){{ with secret "auth/token/lookup-self" -}}
{
"client_token": "{{ .Data.id }}",
"ttl": "{{ .Data.ttl }}"
}
{{ end }}Last updated
Was this helpful?