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" } } }