pub struct AwsAuthConfig {
pub profile: Option<String>,
pub region: Option<String>,
pub service: Option<String>,
}Expand description
AWS SigV4 signing configuration for a credential route.
When present on a route, the proxy will sign outbound requests using AWS
SigV4. All fields are optional: an empty aws_auth: {} block is valid and
uses the default credential chain with region and service auto-detected from
the upstream URL.
Mutually exclusive with credential_key and oauth2.
Fields§
§profile: Option<String>AWS profile name to use for credentials. If omitted, the default credential chain is used. Must be non-empty with no whitespace if provided (whitespace breaks the AWS INI config parser; profile names are case-sensitive).
region: Option<String>Explicit SigV4 signing region (e.g., "us-east-1").
If omitted, auto-detected from the upstream URL.
Must be non-empty and lowercase if provided (SigV4 credential scope
requires lowercase region codes).
service: Option<String>Explicit SigV4 service name (e.g., "bedrock", "s3", "execute-api").
If omitted, auto-detected from the upstream URL.
Must be non-empty and lowercase if provided (SigV4 credential scope
requires lowercase service codes).
Trait Implementations§
Source§impl Clone for AwsAuthConfig
impl Clone for AwsAuthConfig
Source§fn clone(&self) -> AwsAuthConfig
fn clone(&self) -> AwsAuthConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AwsAuthConfig
impl Debug for AwsAuthConfig
Source§impl Default for AwsAuthConfig
impl Default for AwsAuthConfig
Source§fn default() -> AwsAuthConfig
fn default() -> AwsAuthConfig
Source§impl<'de> Deserialize<'de> for AwsAuthConfig
impl<'de> Deserialize<'de> for AwsAuthConfig
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>,
Source§impl PartialEq for AwsAuthConfig
impl PartialEq for AwsAuthConfig
Source§fn eq(&self, other: &AwsAuthConfig) -> bool
fn eq(&self, other: &AwsAuthConfig) -> bool
self and other values to be equal, and is used by ==.