Struct rusoto_credential::StaticProvider [] [src]

pub struct StaticProvider { /* fields omitted */ }

Provides AWS credentials from statically/programmatically provided strings.

Methods

impl StaticProvider
[src]

Creates a new Static Provider. This should be used when you want to statically, or programmatically provide access to AWS.

Creates a new minimal Static Provider. This will set the token as optional none, and the wait for time as 10 minutes. Which are the defaults elsewhere.

Gets the AWS Access Key ID for this Static Provider.

Gets the AWS Secret Access Key for this Static Provider.

Determines if this Static Provider was given a Token.

Gets The Token this Static Provider was given.

Returns the length in seconds this Static Provider will be valid for.

Trait Implementations

impl Clone for StaticProvider
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StaticProvider
[src]

Formats the value using the given formatter.

impl ProvideAwsCredentials for StaticProvider
[src]

Produce a new AwsCredentials.