Encryption: Enable envelope encryption by default (#49301)

* Encryption: Enable envelope encryption by default

* Stop relying on feature toggles from settings (deprecated)

* Database encryption docs (envelope encryption)

* Remove deprecated (and no longer used) FT

* Apply suggestions from code review

Co-authored-by: Tania <yalyna.ts@gmail.com>
This commit is contained in:
Joan López de la Franca Beltran
2022-05-24 10:34:47 +02:00
committed by GitHub
parent 521b0202e2
commit 3e4b4dba46
12 changed files with 107 additions and 46 deletions

View File

@@ -24,7 +24,7 @@ func ProvideService(enc encryption.Internal, settings setting.Provider, features
}
func (s Service) Provide() (map[secrets.ProviderID]secrets.Provider, error) {
if !s.features.IsEnabled(featuremgmt.FlagEnvelopeEncryption) {
if s.features.IsEnabled(featuremgmt.FlagDisableEnvelopeEncryption) {
return nil, nil
}