## Why
A sandboxed client needs to authenticate to an allowed HTTPS endpoint
without receiving the upstream JWT.
## What changed
Let an HTTPS proxy hook exchange a guest bearer alias for a JWT scoped to
the requesting environment and exact resource path. Recheck the hook
policy and grant after establishing upstream TLS, then attach the JWT to
the outgoing request.
## Testing
Add tests for rejecting ambiguous rules and unsafe paths, preserving
ordinary header stripping outside the bound path, and rejecting an alias
after its grant is dropped.
GitOrigin-RevId: 41837b45abcbe97b4dd73c65964d59c661879b46