From 7a3b5235bfc3cd47dd13813873c194c84a3d6675 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 3 Jun 2021 00:09:09 -0700 Subject: [PATCH] remove deprecated kms_vault unused key name --- cmd/config-current.go | 4 ---- internal/config/config.go | 3 --- 2 files changed, 7 deletions(-) diff --git a/cmd/config-current.go b/cmd/config-current.go index 47d24be2a..dc5e2e915 100644 --- a/cmd/config-current.go +++ b/cmd/config-current.go @@ -100,10 +100,6 @@ func initHelp() { Key: config.PolicyOPASubSys, Description: "[DEPRECATED] enable external OPA for policy enforcement", }, - config.HelpKV{ - Key: config.KmsVaultSubSys, - Description: "enable external HashiCorp Vault key management service", - }, config.HelpKV{ Key: config.KmsKesSubSys, Description: "enable external MinIO key encryption service", diff --git a/internal/config/config.go b/internal/config/config.go index 6c17716b9..9cf8f6178 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -72,7 +72,6 @@ const ( StorageClassSubSys = "storage_class" APISubSys = "api" CompressionSubSys = "compression" - KmsVaultSubSys = "kms_vault" KmsKesSubSys = "kms_kes" LoggerWebhookSubSys = "logger_webhook" AuditWebhookSubSys = "audit_webhook" @@ -108,7 +107,6 @@ var SubSystems = set.CreateStringSet( APISubSys, StorageClassSubSys, CompressionSubSys, - KmsVaultSubSys, KmsKesSubSys, LoggerWebhookSubSys, AuditWebhookSubSys, @@ -146,7 +144,6 @@ var SubSystemsSingleTargets = set.CreateStringSet([]string{ APISubSys, StorageClassSubSys, CompressionSubSys, - KmsVaultSubSys, KmsKesSubSys, PolicyOPASubSys, IdentityLDAPSubSys,