pub struct AWSV4Signature {
pub access_key: Option<String>,
pub access_key_id: Option<String>,
pub access_key_version: Option<String>,
pub origin_region: Option<String>,
}
Expand description
Contains the configurations necessary to generate a signature for access to private storage buckets that support Signature Version 4 for authentication. The service name for generating the authentication header will always default to ‘s3’.
This type is not used in any activity, and only used as part of another schema.
Fields§
§access_key: Option<String>
The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly
access_key_id: Option<String>
The identifier of an access key used for s3 bucket authentication.
access_key_version: Option<String>
The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.
origin_region: Option<String>
The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, “us-east-1” for AWS or “us-ashburn-1” for OCI.
Trait Implementations§
Source§impl Clone for AWSV4Signature
impl Clone for AWSV4Signature
Source§fn clone(&self) -> AWSV4Signature
fn clone(&self) -> AWSV4Signature
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AWSV4Signature
impl Debug for AWSV4Signature
Source§impl Default for AWSV4Signature
impl Default for AWSV4Signature
Source§fn default() -> AWSV4Signature
fn default() -> AWSV4Signature
Source§impl<'de> Deserialize<'de> for AWSV4Signature
impl<'de> Deserialize<'de> for AWSV4Signature
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 Serialize for AWSV4Signature
impl Serialize for AWSV4Signature
impl Part for AWSV4Signature
Auto Trait Implementations§
impl Freeze for AWSV4Signature
impl RefUnwindSafe for AWSV4Signature
impl Send for AWSV4Signature
impl Sync for AWSV4Signature
impl Unpin for AWSV4Signature
impl UnwindSafe for AWSV4Signature
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more