大多数配置支持来自环境的内联变量。支持 Vault 配置是否支持环境变量?就像是:
ui = true
listener "tcp" {
tls_disable = 1
address = "[::]:8200"
cluster_address = "[::]:8201"
}
storage "postgresql" {
connection_url = $PG_URL // where PG_URL is an environment variable
}