Lots of distributions precisely clean swap on boot or shutdown for security reasons. Also, clean a swap that is relatively small is faster than zeroing a full disk.
Your argument does not validate the use of easily recoverable .env file. Recovering a .env file is easier than recovering virtual memory.
Your argument does not validate the use of easily recoverable .env file. Recovering a .env file is easier than recovering virtual memory.