postgres: sanitize private_key from READ config endpoint (#28070)

This commit is contained in:
John-Michael Faircloth
2024-08-13 15:29:57 -05:00
committed by GitHub
parent b003c57ac0
commit 1b1f22192a
3 changed files with 57 additions and 9 deletions

View File

@@ -488,7 +488,7 @@ func TestPostgreSQL_InitializeSSL(t *testing.T) {
"connection_url": connURL,
"max_open_connections": 5,
"tls_certificate": string(clientCert.CombinedPEM()),
"tls_private_key": string(clientCert.PrivateKeyPEM()),
"private_key": string(clientCert.PrivateKeyPEM()),
"tls_ca": string(caCert.CombinedPEM()),
}