diff --git a/tests/ZB.MOM.WW.ScadaBridge.IntegrationTests/DeployNotifyFetchTests.cs b/tests/ZB.MOM.WW.ScadaBridge.IntegrationTests/DeployNotifyFetchTests.cs
index ccab5568..ccee9532 100644
--- a/tests/ZB.MOM.WW.ScadaBridge.IntegrationTests/DeployNotifyFetchTests.cs
+++ b/tests/ZB.MOM.WW.ScadaBridge.IntegrationTests/DeployNotifyFetchTests.cs
@@ -60,10 +60,15 @@ public sealed class DeployNotifyFetchTests
/// Creates the SQLite-adapted context from the supplied options.
/// The EF Core options for the context.
public SqliteFetchDbContext(DbContextOptions options)
- : base(options, new EphemeralDataProtectionProvider())
+ : base(options, KeyRing)
{
}
+ // One key ring shared by every context, as the central nodes share theirs:
+ // PendingDeployments.ConfigurationJson is encrypted at rest (code review 2026-12-02
+ // CDB-1), so the staging context's write must decrypt in the endpoint's context.
+ private static readonly IDataProtectionProvider KeyRing = new EphemeralDataProtectionProvider();
+
///
protected override void OnModelCreating(ModelBuilder modelBuilder)
{