diff --git a/docs/en/release-info/migration-guides/abp-10-7.md b/docs/en/release-info/migration-guides/abp-10-7.md index b3821552fa..5a6dc033c3 100644 --- a/docs/en/release-info/migration-guides/abp-10-7.md +++ b/docs/en/release-info/migration-guides/abp-10-7.md @@ -98,14 +98,17 @@ No action is required if you do not enable encryption or configure transforming If you enable encryption for a container that already contains plaintext BLOBs: -1. Enable encryption with `allowLegacyPlainText: true`. +1. Enable encryption with `allowLegacyPlainText: true` and configure a passphrase, either for the container or globally with `AbpBlobStoringEncryptionOptions.DefaultPassPhrase`. 2. Re-save every existing BLOB through the container. 3. Remove `allowLegacyPlainText` after the migration, so reads fail closed for plaintext content. ```csharp -options.Containers.Configure(container => +Configure(options => { - container.UseEncryption(allowLegacyPlainText: true); + options.Containers.Configure(container => + { + container.UseEncryption(allowLegacyPlainText: true); + }); }); ```