SecretsManager: Introduce DecryptAuthorizer (#105459)

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
This commit is contained in:
Dana Axinte
2025-05-15 17:52:14 +01:00
committed by GitHub
co-authored by Matheus Macabu
parent 167b201525
commit 581d153604
6 changed files with 288 additions and 0 deletions
+3
View File
@@ -41,6 +41,7 @@ import (
apiregistry "github.com/grafana/grafana/pkg/registry/apis"
"github.com/grafana/grafana/pkg/registry/apis/dashboard/legacy"
"github.com/grafana/grafana/pkg/registry/apis/provisioning/repository/github"
secretdecrypt "github.com/grafana/grafana/pkg/registry/apis/secret/decrypt"
appregistry "github.com/grafana/grafana/pkg/registry/apps"
"github.com/grafana/grafana/pkg/services/accesscontrol"
"github.com/grafana/grafana/pkg/services/accesscontrol/acimpl"
@@ -418,6 +419,8 @@ var wireBasicSet = wire.NewSet(
// Secrets Manager
secretmetadata.ProvideSecureValueMetadataStorage,
secretmetadata.ProvideKeeperMetadataStorage,
secretdecrypt.ProvideDecryptAuthorizer,
secretdecrypt.ProvideDecryptAllowList,
// Unified storage
resource.ProvideStorageMetrics,
resource.ProvideIndexMetrics,