Struct aws_sdk_sts::model::Credentials
source · #[non_exhaustive]pub struct Credentials { /* private fields */ }
Expand description
Amazon Web Services credentials for API authentication.
Implementations§
source§impl Credentials
impl Credentials
sourcepub fn access_key_id(&self) -> Option<&str>
pub fn access_key_id(&self) -> Option<&str>
The access key ID that identifies the temporary security credentials.
sourcepub fn secret_access_key(&self) -> Option<&str>
pub fn secret_access_key(&self) -> Option<&str>
The secret access key that can be used to sign requests.
sourcepub fn session_token(&self) -> Option<&str>
pub fn session_token(&self) -> Option<&str>
The token that users must pass to the service API to use the temporary credentials.
sourcepub fn expiration(&self) -> Option<&DateTime>
pub fn expiration(&self) -> Option<&DateTime>
The date on which the current credentials expire.
source§impl Credentials
impl Credentials
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Credentials
.
Trait Implementations§
source§impl Clone for Credentials
impl Clone for Credentials
source§fn clone(&self) -> Credentials
fn clone(&self) -> Credentials
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Credentials
impl Debug for Credentials
source§impl PartialEq<Credentials> for Credentials
impl PartialEq<Credentials> for Credentials
source§fn eq(&self, other: &Credentials) -> bool
fn eq(&self, other: &Credentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.