pub struct SessionCredentials {
pub access_key_id: String,
pub secret_access_key: String,
pub session_token: String,
pub expiration: DateTime<Utc>,
pub account_id: String,
}Expand description
Temporary credentials for an assumed-role session, as a compute service hands them to the code it runs (Lambda’s execution-role environment, for example).
Fields§
§access_key_id: String§secret_access_key: String§session_token: String§expiration: DateTime<Utc>§account_id: StringAccount the session is registered under, so it can be revoked there.
Trait Implementations§
Source§impl Clone for SessionCredentials
impl Clone for SessionCredentials
Auto Trait Implementations§
impl Freeze for SessionCredentials
impl RefUnwindSafe for SessionCredentials
impl Send for SessionCredentials
impl Sync for SessionCredentials
impl Unpin for SessionCredentials
impl UnsafeUnpin for SessionCredentials
impl UnwindSafe for SessionCredentials
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