Files
sendico/infra/registry/vault/agent.hcl
2026-03-10 21:45:41 +03:00

23 lines
513 B
HCL

auto_auth {
method "approle" {
mount_path = "auth/approle"
config = {
role_id_file_path = "/vault/secrets/role_id"
secret_id_file_path = "/vault/secrets/secret_id"
}
}
sink "file" { config = { path = "/vault/.token" } }
}
template {
source = "/etc/vault/templates/htpasswd.ctmpl"
destination = "/vault/secrets/htpasswd"
perms = "0440"
}
template {
source = "/etc/vault/templates/s3.env.ctmpl"
destination = "/vault/secrets/env"
perms = "0440"
}