#[non_exhaustive]pub struct Sigv4 {
pub streaming: Option<Sigv4Action>,
pub presigned: Option<Sigv4Action>,
pub sigv4a: Option<Sigv4Action>,
pub extra: Extra,
}Expand description
sandbox.credentials.sigv4.
Choose what the sandbox proxy does with AWS request forms it can’t
re-sign: streaming for
aws-chunked streaming uploads, presigned for presigned URLs, and sigv4a for SigV4A
asymmetric signatures. This applies only to requests signed with a masked pair’s placeholder
access key ID. Requires Claude Code v2.1.224 or later.
Docs: sandbox.credentials.sigv4.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.streaming: Option<Sigv4Action>What the proxy does with aws-chunked streaming uploads it can’t re-sign.
- Values:
"deny"(fail the request) or"passthrough"(forward it signed with the placeholder) - Default:
"deny"
Docs: streaming.
presigned: Option<Sigv4Action>What the proxy does with presigned URLs.
- Values:
"deny"or"passthrough" - Default:
"deny"
Docs: presigned.
sigv4a: Option<Sigv4Action>What the proxy does with SigV4A asymmetric signatures.
- Values:
"deny"or"passthrough" - Default:
"deny"
Docs: sigv4a.
extra: ExtraKeys Claude Code accepts here that this crate doesn’t model (newer or undocumented ones), kept as written so the document round-trips.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Sigv4
impl<'de> Deserialize<'de> for Sigv4
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Sigv4
Auto Trait Implementations§
impl Forget for Sigv4
impl Freeze for Sigv4
impl Move for Sigv4
impl RefUnwindSafe for Sigv4
impl Send for Sigv4
impl Sync for Sigv4
impl Unpin for Sigv4
impl UnsafeUnpin for Sigv4
impl UnwindSafe for Sigv4
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more