You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
377 B
HCL

vault = {
address = "http://localhost:8200"
}
template = {
contents = "{{ with secret \"secret/my-secret\" }}{{ .Data.data | toJSON }}{{ end }}"
destination = "tmp/secrets/vault-nixos3.service.json"
}
auto_auth {
method {
type = "approle"
config = {
role_id_file_path = "tmp/roleID"
secret_id_file_path = "tmp/secretID"
}
}
}