Secret function doesn't honour at-sign (@) to load file contents into an attribute #1489
Labels
enhancement
hashicat-update-required
Changes that need to be ported to hashicat
vault
Related to the Vault integration
Consul Template version
compiled from main @ commit 51401f3
Configuration
Command
consul-template -template "in.tmpl:out.cer" or consul-template -config config.hcl
Expected behavior
The Vault convention of prefixing a file with an @ then causes the contents to be read and used as the value
Actual behavior
The string is used literally, passing the value '@./MYCSR.csr' to Vault, causing an HTTP 400
Steps to reproduce
The text was updated successfully, but these errors were encountered: