|
|
|
@ -3455,6 +3455,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
|
|
|
|
|
"enabled": true,
|
|
|
|
|
"ca_provider": "vault",
|
|
|
|
|
"ca_config": {
|
|
|
|
|
"address": "http://127.0.0.1:8200",
|
|
|
|
|
"ca_file": "/capath/ca.pem",
|
|
|
|
|
"ca_path": "/capath/",
|
|
|
|
|
"cert_file": "/certpath/cert.pem",
|
|
|
|
@ -3472,6 +3473,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
|
|
|
|
|
enabled = true
|
|
|
|
|
ca_provider = "vault"
|
|
|
|
|
ca_config {
|
|
|
|
|
address = "http://127.0.0.1:8200"
|
|
|
|
|
ca_file = "/capath/ca.pem"
|
|
|
|
|
ca_path = "/capath/"
|
|
|
|
|
cert_file = "/certpath/cert.pem"
|
|
|
|
@ -3489,6 +3491,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
|
|
|
|
|
rt.ConnectEnabled = true
|
|
|
|
|
rt.ConnectCAProvider = "vault"
|
|
|
|
|
rt.ConnectCAConfig = map[string]interface{}{
|
|
|
|
|
"Address": "http://127.0.0.1:8200",
|
|
|
|
|
"CAFile": "/capath/ca.pem",
|
|
|
|
|
"CAPath": "/capath/",
|
|
|
|
|
"CertFile": "/certpath/cert.pem",
|
|
|
|
@ -3511,6 +3514,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
|
|
|
|
|
"enabled": true,
|
|
|
|
|
"ca_provider": "vault",
|
|
|
|
|
"ca_config": {
|
|
|
|
|
"address": "http://127.0.0.1:8200",
|
|
|
|
|
"ca_file": "/capath/ca.pem",
|
|
|
|
|
"ca_path": "/capath/",
|
|
|
|
|
"cert_file": "/certpath/cert.pem",
|
|
|
|
@ -3529,6 +3533,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
|
|
|
|
|
enabled = true
|
|
|
|
|
ca_provider = "vault"
|
|
|
|
|
ca_config {
|
|
|
|
|
address = "http://127.0.0.1:8200"
|
|
|
|
|
ca_file = "/capath/ca.pem"
|
|
|
|
|
ca_path = "/capath/"
|
|
|
|
|
cert_file = "/certpath/cert.pem"
|
|
|
|
@ -3547,6 +3552,7 @@ func TestLoad_IntegrationWithFlags(t *testing.T) {
|
|
|
|
|
rt.ConnectEnabled = true
|
|
|
|
|
rt.ConnectCAProvider = "vault"
|
|
|
|
|
rt.ConnectCAConfig = map[string]interface{}{
|
|
|
|
|
"Address": "http://127.0.0.1:8200",
|
|
|
|
|
"CAFile": "/capath/ca.pem",
|
|
|
|
|
"CAPath": "/capath/",
|
|
|
|
|
"CertFile": "/certpath/cert.pem",
|
|
|
|
|