Files
blog/content/vault-agents/index.md
2026-05-27 14:48:41 +02:00

1.2 KiB

+++ title = "Vault Agents" date = 2026-06-02 description = "Setting up vault-agents for my servers" draft = true

[taxonomies] categories = ["Homelab"] tags = ["Homelab", "Vault"]

[extra] toc = true +++

My journey to setting up vault-agents on my servers to handle dynamic secrets in configurations.

Configuring Vault Itself

We first need to setup vault such that the vault agents can authenticate to vault itself.

Deploying Vault Agents

TODO Testing

Using them to template Configs

A couple of examples how I am going to use the vault agents templating features

Nomad mTLS

We can use vault agents to template the TLS certificates for nomads mTLS configuration.

  1. Get all currently valid CA certificates and store them in the trust bundle
  2. Get a leaf certificate for the current node

Consul ACLs

To configure the ACL tokens for consul

References