SetProcessEnvironmentVariable unwanted log message

Mmmm. You can’t directly, but these days the Sandbox process should be safe enough to use the os.environ dictionary directly in Python and it’ll propagate downward. You could even unset the state after launching the process. Note though that any user who is running as the same account as the Worker may be able to interrogate the processes environment and gain access to the secret. Still, more secure than writing it straight to the log.