update KES docs to talk about 'mc encrypt' command (#10400)

add a deprecation notice for KMS_AUTO_ENCRYPTION
This commit is contained in:
Harshavardhana
2020-09-03 12:43:45 -07:00
committed by GitHub
parent c51229493b
commit b4e3956e69
3 changed files with 25 additions and 17 deletions

View File

@@ -50,7 +50,7 @@ func init() {
}
func verifyObjectLayerFeatures(name string, objAPI ObjectLayer) {
if (globalAutoEncryption || GlobalKMS != nil) && !objAPI.IsEncryptionSupported() {
if (GlobalKMS != nil) && !objAPI.IsEncryptionSupported() {
logger.Fatal(errInvalidArgument,
"Encryption support is requested but '%s' does not support encryption", name)
}