grafana/pkg/services/secrets
Michael Mandrus 277ea836b6
Secrets: Implement migration of secrets from plugin back to unified secrets (#53561)
* initial cut at migration from plugin

* create new migration from plugin

* only migrate to or from, not both

* remove cfg check from plugin migration itself

* update comments, clean up secret after migration

* add better error handling

* hook up REST API with migrations

* Minor fixes

* fix wire injection issue

* modify migrator to access plugin calls directly. create unit tests

* change pre-migration checks in admin api

* stop plugin after migrating from it

* fix compile issues after merge

* add comment about migration

* fix linting issue

* bleh, fix unit test

* fix another unit test

* update plugin error fatal flag after a migration from the plugin

* add extra logging to migration

* make linter happy

Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com>
2022-08-24 16:24:50 -04:00
..
database Encryption: Re-order error check (#52251) 2022-07-14 23:53:43 +02:00
fakes Encryption: Fix multiple data keys migration (#49848) 2022-06-04 12:55:49 +02:00
kvstore Secrets: Implement migration of secrets from plugin back to unified secrets (#53561) 2022-08-24 16:24:50 -04:00
manager Encryption: De-duplicate encryption code with extensible service (#52472) 2022-08-02 15:08:09 +02:00
migrator Encryption: Expose secrets migrations through HTTP API (#51707) 2022-07-18 08:57:58 +02:00
secrets.go Encryption: Expose secrets migrations through HTTP API (#51707) 2022-07-18 08:57:58 +02:00
types.go Encryption: Fix multiple data keys migration (#49848) 2022-06-04 12:55:49 +02:00