Does SnapshotSwitch support disabling via environment variables?
Author: Kurok1Created Sep 20, 2026Updated Sep 29, 2026
Labelsstatus/need feedback
Is your feature request related to a problem? Please describe.
I recently discovered using Codex that its AI capabilities have evolved to the point where it can autonomously read local Nacos snapshot caches to troubleshoot issues. This could lead to the risk of leaks in many critical configurations.
Describe the solution you'd like
I found that SnapshotSwitch can be manually turned off, but almost every application requires writing code to turn it off. I was wondering if it would be possible to enable/disable it via a global environment variable?
Source: alibaba/nacos