pub struct AwsCredentials {
pub access_key_id: String,
pub secret_access_key: String,
pub session_token: String,
pub expiration: Option<SystemTime>,
}Expand description
Temporary credentials from STS AssumeRole.
Fields§
§access_key_id: StringSTS access key id.
secret_access_key: StringSTS secret. Redacted in Debug.
session_token: StringSession token for SigV4 x-amz-security-token.
expiration: Option<SystemTime>When the session expires, if STS sent Expiration.
Trait Implementations§
Source§impl Clone for AwsCredentials
impl Clone for AwsCredentials
Auto Trait Implementations§
impl Forget for AwsCredentials
impl Freeze for AwsCredentials
impl RefUnwindSafe for AwsCredentials
impl Send for AwsCredentials
impl Sync for AwsCredentials
impl Unpin for AwsCredentials
impl UnsafeUnpin for AwsCredentials
impl UnwindSafe for AwsCredentials
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