Initial vault agent configuration
This commit is contained in:
31
agent.hcl
Normal file
31
agent.hcl
Normal file
@@ -0,0 +1,31 @@
|
||||
pid_file = "/home/kaffa/vault/pidfile"
|
||||
|
||||
vault {
|
||||
address = "https://vault.anvil.it.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
|
||||
}
|
||||
Reference in New Issue
Block a user