Add rotating stdin credentials for remote exec-server (#54434)

## What changed

- Add `--executor-credential-stdin` to read newline-delimited JSON credentials bound to the configured environment. Require an initial credential within 30 seconds and accept subsequent rotations.
- Reject expired credentials on each request, and stop the executor on invalid input or stdin closure. Limit credential frames to 16 KiB.
- Use scoped bearer authentication for registry requests without account credential fallback or WebSocket authentication headers. Skip workload identity loading and configured telemetry exporters in this mode.

## Testing

Add unit and integration coverage for rotation, expiry, malformed frames, environment mismatches, stdin closure, registry-only authentication, credential redaction, and telemetry exporter isolation.

GitOrigin-RevId: 30a94478165395144a765450f5ec6b3697acdd55
This commit is contained in:
viyatb-oai
2026-10-15 22:32:24 +00:00
committed by copyberry
parent 98fd26206d
commit 16e578dd1d
8 changed files with 826 additions and 10 deletions
+1
View File
@@ -66,6 +66,7 @@ mod exec_args_tests;
mod exec_server_args_tests;
mod exec_server_auth;
mod exec_server_command;
mod exec_server_credential;
mod exec_server_telemetry;
mod marketplace_cmd;
mod mcp_cmd;