Skip to content

Commit

Permalink
backport of commit 8924f95 (#23257)
Browse files Browse the repository at this point in the history
Co-authored-by: vinay-gopalan <86625824+vinay-gopalan@users.noreply.github.com>
  • Loading branch information
1 parent 4e439e0 commit 99b916a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions builtin/logical/database/path_config_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
3 changes: 3 additions & 0 deletions changelog/23256.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
secrets/db: Remove the `service_account_json` parameter when reading DB connection details
```

0 comments on commit 99b916a

Please sign in to comment.