how do you deal with "access to the proxy"? because one can access maliciously without accessing to the token/secret.
The proxy itself currently implements a token-based auth scheme. Depending on your setup, you can have an orchestrator mint an ephemeral token to be passed to a sandboxed agent to authenticate with the proxy.