grafana/pkg/server
Michael Mandrus f376c33903
WIP: Add private Secret Manager Plugins support to plugin platform (#49544)
* Add protobuf config and generated code, and client wrapper

* wire up loading of secretsmanager plugin, using renderer plugin as a model

* update kvstore provider to check if we should use the grpc plugin. return false always in OSS

* add OSS remote plugin check

* refactor wire gen file

* log which secrets manager is being used

* Fix argument types for remote checker

* Turns out if err != nil, then the result is always nil. Return empty values if there is an error.

* remove duplicate import

* Update pkg/services/secrets/kvstore/kvstore.go

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update pkg/services/secrets/kvstore/kvstore.go

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* refactor RemotePluginCheck interface to just return the Plugin client directly

* rename struct to something less silly

* Update pkg/plugins/backendplugin/secretsmanagerplugin/secretsmanager.proto

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2022-06-09 13:19:27 -04:00
..
backgroundsvcs Search: in-memory index (#47709) 2022-04-27 12:29:39 +04:00
usagestatssvcs Chore: Add Usage stats providers registry (#48357) 2022-04-28 13:06:49 +04:00
server_test.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
server.go Chore: Add Usage stats providers registry (#48357) 2022-04-28 13:06:49 +04:00
test_env.go Chore: Remove bus from ngalert (#44465) 2022-01-26 16:42:40 +01:00
wire.go WIP: Add private Secret Manager Plugins support to plugin platform (#49544) 2022-06-09 13:19:27 -04:00
wireexts_oss.go WIP: Add private Secret Manager Plugins support to plugin platform (#49544) 2022-06-09 13:19:27 -04:00