15 lines
339 B
HCL
15 lines
339 B
HCL
vault { address = "http://vault:8200" }
|
|
auto_auth {
|
|
method "approle" {
|
|
config = {
|
|
role_id_file_path = "/etc/agent/role-id"
|
|
secret_id_file_path = "/etc/agent/secret-id"
|
|
remove_secret_id_file_after_reading = false
|
|
}
|
|
}
|
|
}
|
|
template_config {
|
|
static_secret_render_interval = "10s"
|
|
exit_on_retry_failure = true
|
|
}
|