From 2827c968cf38508772b279433bae915e469b0e8f Mon Sep 17 00:00:00 2001 From: maliming Date: Thu, 6 Aug 2026 09:25:49 +0800 Subject: [PATCH] Mention the passphrase in the BLOB encryption migration steps --- docs/en/release-info/migration-guides/abp-10-7.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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); + }); }); ```