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
371 B
HCL

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