Remove SA Credentials from DB Connection Details on Read (#23256)

This commit is contained in:
vinay-gopalan
2023-09-22 10:49:46 -07:00
committed by GitHub
parent 1434a235b1
commit 8924f9592d
2 changed files with 4 additions and 0 deletions

View File

@@ -282,6 +282,7 @@ func (b *databaseBackend) connectionReadHandler() framework.OperationFunc {
delete(config.ConnectionDetails, "password")
delete(config.ConnectionDetails, "private_key")
delete(config.ConnectionDetails, "service_account_json")
return &logical.Response{
Data: structs.New(config).Map(),