SecretsManager: Add (en/de)cryption packages (#104923)

Merging the code as-is from the feature branch: secret-service/feature-branch

Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com>
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com>
Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com>
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
This commit is contained in:
Matheus Macabu
2025-05-05 15:26:52 +02:00
committed by GitHub
co-authored by PoorlyDefinedBehaviour Dana Axinte Leandro Deveikis Mariell Hoversholm Michael Mandrus
parent 7900a53e05
commit c90e2e8e5e
17 changed files with 906 additions and 0 deletions
+4
View File
@@ -558,6 +558,9 @@ type Cfg struct {
SprinklesApiServerPageLimit int
CACertPath string
HttpsSkipVerify bool
// Secrets Management
SecretsManagement SecretsManagerSettings
}
type UnifiedStorageConfig struct {
@@ -1367,6 +1370,7 @@ func (cfg *Cfg) parseINIFile(iniFile *ini.File) error {
cfg.readFeatureManagementConfig()
cfg.readPublicDashboardsSettings()
cfg.readCloudMigrationSettings()
cfg.readSecretsManagerSettings()
// read experimental scopes settings.
scopesSection := iniFile.Section("scopes")