grafana/pkg/api/pluginproxy
Guilherme Caulada a367ad730c
Secrets: Implement basic unified secret store service (#45804)
* wip: Implement kvstore for secrets

* wip: Refactor kvstore for secrets

* wip: Add format key function to secrets kvstore sql

* wip: Add migration for secrets kvstore

* Remove unused Key field from secrets kvstore

* Remove secret values from debug logs

* Integrate unified secrets with datasources

* Fix minor issues and tests for kvstore

* Create test service helper for secret store

* Remove encryption tests from datasources

* Move secret operations after datasources

* Fix datasource proxy tests

* Fix legacy data tests

* Add Name to all delete data source commands

* Implement decryption cache on sql secret store

* Fix minor issue with cache and tests

* Use secret type on secret store datasource operations

* Add comments to make create and update clear

* Rename itemFound variable to isFound

* Improve secret deletion and cache management

* Add base64 encoding to sql secret store

* Move secret retrieval to decrypted values function

* Refactor decrypt secure json data functions

* Fix expr tests

* Fix datasource tests

* Fix plugin proxy tests

* Fix query tests

* Fix metrics api tests

* Remove unused fake secrets service from query tests

* Add rename function to secret store

* Add check for error renaming secret

* Remove bus from tests to fix merge conflicts

* Add background secrets migration to datasources

* Get datasource secure json fields from secrets

* Move migration to secret store

* Revert "Move migration to secret store"

This reverts commit 7c3f872072.

* Add secret service to datasource service on tests

* Fix datasource tests

* Remove merge conflict on wire

* Add ctx to data source http transport on prometheus stats collector

* Add ctx to data source http transport on stats collector test
2022-04-25 13:57:45 -03:00
..
test-data dsproxy: allow multiple access tokens per datasource 2018-06-12 17:39:38 +02:00
ds_auth_provider_test.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
ds_auth_provider.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
ds_proxy_test.go Secrets: Implement basic unified secret store service (#45804) 2022-04-25 13:57:45 -03:00
ds_proxy.go Secrets: Implement basic unified secret store service (#45804) 2022-04-25 13:57:45 -03:00
pluginproxy_test.go Plugins: Add plugin settings DTO (#46283) 2022-03-18 20:49:13 +01:00
pluginproxy.go Instrumentation: Proxy status code correction and various improvements (#47473) 2022-04-11 13:17:08 +02:00
token_provider_azure.go Migrate to Grafana Azure SDK (#47232) 2022-04-04 11:23:13 +02:00
token_provider_gce.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider_generic.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider_jwt.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider_test.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider.go AzureMonitor: Use auth middleware for QueryData requests (#35343) 2021-06-11 17:02:24 +02:00
utils_test.go API: Rewrite tests from goconvey (#29091) 2020-11-17 11:31:35 +01:00
utils.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00