Chore: Use KVStore for the manifest public key (#66839)

This commit is contained in:
Andres Martinez Gotor
2023-04-25 13:01:49 +02:00
committed by GitHub
parent 9b3ddae424
commit 9d7c3a101d
11 changed files with 386 additions and 215 deletions

View File

@ -26,6 +26,7 @@ import (
"github.com/grafana/grafana/pkg/services/oauthtoken"
"github.com/grafana/grafana/pkg/services/pluginsintegration/clientmiddleware"
"github.com/grafana/grafana/pkg/services/pluginsintegration/config"
"github.com/grafana/grafana/pkg/services/pluginsintegration/keystore"
"github.com/grafana/grafana/pkg/services/pluginsintegration/licensing"
"github.com/grafana/grafana/pkg/services/pluginsintegration/plugincontext"
"github.com/grafana/grafana/pkg/services/pluginsintegration/pluginsettings"
@ -68,6 +69,8 @@ var WireSet = wire.NewSet(
wire.Bind(new(plugins.FileStore), new(*filestore.Service)),
wire.Bind(new(plugins.SignatureCalculator), new(*signature.Signature)),
signature.ProvideService,
wire.Bind(new(plugins.KeyStore), new(*keystore.Service)),
keystore.ProvideService,
)
// WireExtensionSet provides a wire.ProviderSet of plugin providers that can be