Struct aws_sdk_sso::model::RoleCredentials
source · #[non_exhaustive]pub struct RoleCredentials { /* private fields */ }
Expand description
Provides information about the role credentials that are assigned to the user.
Implementations§
source§impl RoleCredentials
impl RoleCredentials
sourcepub fn access_key_id(&self) -> Option<&str>
pub fn access_key_id(&self) -> Option<&str>
The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
sourcepub fn secret_access_key(&self) -> Option<&str>
pub fn secret_access_key(&self) -> Option<&str>
The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
sourcepub fn session_token(&self) -> Option<&str>
pub fn session_token(&self) -> Option<&str>
The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
sourcepub fn expiration(&self) -> i64
pub fn expiration(&self) -> i64
The date on which temporary security credentials expire.
source§impl RoleCredentials
impl RoleCredentials
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RoleCredentials
.
Trait Implementations§
source§impl Clone for RoleCredentials
impl Clone for RoleCredentials
source§fn clone(&self) -> RoleCredentials
fn clone(&self) -> RoleCredentials
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 RoleCredentials
impl Debug for RoleCredentials
source§impl PartialEq<RoleCredentials> for RoleCredentials
impl PartialEq<RoleCredentials> for RoleCredentials
source§fn eq(&self, other: &RoleCredentials) -> bool
fn eq(&self, other: &RoleCredentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.