Skip to content

Instantly share code, notes, and snippets.

@hoyhoy
Created August 14, 2026 16:42
Show Gist options
  • Select an option

  • Save hoyhoy/ea309d15029eedffe7b887ca13df76d4 to your computer and use it in GitHub Desktop.

Select an option

Save hoyhoy/ea309d15029eedffe7b887ca13df76d4 to your computer and use it in GitHub Desktop.
Vault Agent Configuration
vault {
address = "https://127.0.0.1:8200"
}
auto_auth {
method "token_file" {
config = {
token_file_path = "/opt/vault/etc/vault-token"
}
}
sink "file" {
config = {
path = "/opt/vault/etc/agent-token"
}
}
}
template {
source = "/opt/vault/etc/templates/git-credentials.tpl"
destination = "/Users/hoyhoy/.git-credentials"
perms = "0600"
}
template {
source = "/opt/vault/etc/templates/groot.tpl"
destination = "/Users/hoyhoy/.grootrc"
perms = "0600"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment