pub struct AwsSecrets {
pub access_key_id: String,
pub secret_access_key: String,
pub session_token: Option<String>,
}Fields§
§access_key_id: String§secret_access_key: String§session_token: Option<String>Optional STS/SSO session token (AWS_SESSION_TOKEN). Only used by
restore on a trusted machine; the write-only host uses static keys.
Trait Implementations§
Source§impl Clone for AwsSecrets
impl Clone for AwsSecrets
Source§impl Debug for AwsSecrets
impl Debug for AwsSecrets
Source§impl<'de> Deserialize<'de> for AwsSecrets
impl<'de> Deserialize<'de> for AwsSecrets
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
Auto Trait Implementations§
impl Freeze for AwsSecrets
impl RefUnwindSafe for AwsSecrets
impl Send for AwsSecrets
impl Sync for AwsSecrets
impl Unpin for AwsSecrets
impl UnsafeUnpin for AwsSecrets
impl UnwindSafe for AwsSecrets
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