From 51eea24dc12f2803f1a458e6e5c5335c79dbd4b2 Mon Sep 17 00:00:00 2001 From: Gidi Meir Morris Date: Thu, 25 Jun 2020 14:58:46 +0100 Subject: [PATCH] Update x-pack/plugins/encrypted_saved_objects/README.md Co-authored-by: Aleh Zasypkin --- x-pack/plugins/encrypted_saved_objects/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/encrypted_saved_objects/README.md b/x-pack/plugins/encrypted_saved_objects/README.md index 5958e38b190c..0a5e79a96f02 100644 --- a/x-pack/plugins/encrypted_saved_objects/README.md +++ b/x-pack/plugins/encrypted_saved_objects/README.md @@ -197,7 +197,7 @@ const migration790 = encryptedSavedObjects.createMigration( ); ``` -As you can see in this example how we provide a legacy type which describes the _input_ which needs to be decrypted. +As you can see in this example we provide a legacy type which describes the _input_ which needs to be decrypted. The migration function will default to using the registered type to encrypt the migrated document after the migration is applied. If you need to migrate between two legacy types, you can specify both types at once: