pub struct CredentialsProviderStaticOptions<'a> {
pub access_key_id: &'a str,
pub secret_access_key: &'a str,
pub session_token: Option<&'a str>,
}Expand description
Options for creating a static credentials provider
Fields§
§access_key_id: &'a strAWS access key ID
secret_access_key: &'a strAWS secret access key
session_token: Option<&'a str>AWS session token (only required for some credentials sources, e.g. STS)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CredentialsProviderStaticOptions<'a>
impl<'a> RefUnwindSafe for CredentialsProviderStaticOptions<'a>
impl<'a> Send for CredentialsProviderStaticOptions<'a>
impl<'a> Sync for CredentialsProviderStaticOptions<'a>
impl<'a> Unpin for CredentialsProviderStaticOptions<'a>
impl<'a> UnwindSafe for CredentialsProviderStaticOptions<'a>
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