Files
vault-agent/agent.hcl

31 lines
539 B
HCL

pid_file = "/home/kaffa/vault/pidfile"
vault {
address = "https://hcv.inouter.com"
}
auto_auth {
method "approle" {
config = {
role_id_file_path = "/home/kaffa/vault/config/role-id"
secret_id_file_path = "/home/kaffa/vault/config/secret-id"
remove_secret_id_file_after_reading = false
}
}
sink "file" {
config = {
path = "/home/kaffa/vault/vault-token"
mode = 0644
}
}
}
cache {
use_auto_auth_token = true
}
listener "tcp" {
address = "127.0.0.1:8007"
tls_disable = true
}