If you still looking for the solution,
adding secretmanager.googleapis.com
to both no_proxy
and NO_PROXY
does work.
make sure to source it.
If you have done it and its not working in you IDE, then make sure you kill the IDE and restart IDE again. This gets a new session for your IDE with updated env.