#[non_exhaustive]pub struct AwsPair {
pub access_key_id_var: Option<String>,
pub secret_access_key_var: Option<String>,
pub session_token_var: Option<String>,
pub extra: Extra,
}Expand description
An entry of sandbox.credentials.awsPairs.
Group masked environment variables that form one AWS credential for SigV4
re-signing when your
credential lives in variables with non-standard names. Claude Code links the conventional
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN trio automatically
when you mask their whole values, so you need this key only for other names.
Docs: sandbox.credentials.awsPairs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.access_key_id_var: Option<String>The masked variable that holds the access key ID.
- Values: string, the
nameof asandbox.credentials.envVarsentry (required) - Default: unset
Docs: accessKeyIdVar.
secret_access_key_var: Option<String>The masked variable that holds the secret access key.
- Values: string, the
nameof asandbox.credentials.envVarsentry (required) - Default: unset
Docs: secretAccessKeyVar.
session_token_var: Option<String>The masked variable that holds the session token.
- Values: string, the
nameof asandbox.credentials.envVarsentry - Default: unset
Docs: sessionTokenVar.
extra: ExtraKeys Claude Code accepts here that this crate doesn’t model (newer or undocumented ones), kept as written so the document round-trips.