AWS calls from inside the sandbox now work with masked credentials, since the proxy re-signs them for you.
What's wrong with this entry?
When AWS credentials are masked inside the sandbox, the MITM proxy now recognises SigV4 requests, resolves the sentinel access key to the real key pair, and re-signs the request before forwarding it.
- New AWS key-pair registry (
getAwsPairRegistry) populated from the configured environment variables. - The TLS-terminating proxy receives
planSigv4andmaxSigv4ResignBodyBytes, so re-signing is bounded by a body-size limit. - Streaming, presigned and sigv4a variants cannot be re-signed and default to deny; setting
credentials.sigv4.<kind>to"passthrough"is the escape hatch. - A request using a masked credential with no
x-amz-dateheader cannot be re-signed and is refused with an explicit message. - A warning fires if only one of the access-key/secret pair is masked.
- Active only when sandbox
credentialsconfig is present. Sandbox exec also forwardsgitSafeDirectories.
maxSigv4ResignBodyBytes, AWS SigV4 request uses a masked credential but carries no x-amz-date header; the proxy cannot re-sign it.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.224
Invalid sandbox credential settings now fail closed instead of being ignored
Both mention credential sandbox
-
v2.1.224
Sandbox credential masking gains JWT handling, per-claim masking and AWS SigV4 re-signing
Both mention credential sigv4 sandbox
-
v2.1.224
Sandbox AWS credential pairs get precedence rules and scope warnings
Both mention credential sandbox