Struct aws_sdk_sts::model::Credentials
source · [−]#[non_exhaustive]pub struct Credentials {
pub access_key_id: Option<String>,
pub secret_access_key: Option<String>,
pub session_token: Option<String>,
pub expiration: Option<DateTime>,
}Expand description
Amazon Web Services credentials for API authentication.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.access_key_id: Option<String>The access key ID that identifies the temporary security credentials.
secret_access_key: Option<String>The secret access key that can be used to sign requests.
session_token: Option<String>The token that users must pass to the service API to use the temporary credentials.
expiration: Option<DateTime>The date on which the current credentials expire.
Implementations
The access key ID that identifies the temporary security credentials.
The secret access key that can be used to sign requests.
The token that users must pass to the service API to use the temporary credentials.
The date on which the current credentials expire.
Creates a new builder-style object to manufacture Credentials
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more