feat(clients/ts): add sandboxd.authToken

Merged
ER
2mo ago
+367-4

What this PR does / why we need it:

Adds sandboxd.authToken, sent as a Bearer token on every REST request and gRPC call.

Which issue(s) this PR is related to:

Ref #977

Release Note

TypeScript SDK: add sandboxd.authToken for sandboxd bearer-token authentication.

Summary by CodeRabbit

  • New Features
    • Added optional Bearer-token authentication for REST requests and gRPC calls.
    • Invalid tokens are rejected with a clear validation error. Authentication failures are reported as unauthenticated errors without exposing the token.
  • Documentation
    • Added guidance on configuring tokens, authentication errors, and unauthenticated health checks.
    • Clarified that tokens are sent in plaintext over in-cluster connections.