mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 09:42:25 +00:00
Remove SA Credentials from DB Connection Details on Read (#23256)
This commit is contained in:
@@ -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(),
|
||||
|
||||
3
changelog/23256.txt
Normal file
3
changelog/23256.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:improvement
|
||||
secrets/db: Remove the `service_account_json` parameter when reading DB connection details
|
||||
```
|
||||
Reference in New Issue
Block a user