Struct rusoto_credential::StaticProvider [] [src]

pub struct StaticProvider { /* fields omitted */ }

Provides AWS credentials from statically/programmatically provided strings.

Methods

impl StaticProvider
[src]

[src]

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

[src]

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.

[src]

Gets the AWS Access Key ID for this Static Provider.

[src]

Gets the AWS Secret Access Key for this Static Provider.

[src]

Determines if this Static Provider was given a Token.

[src]

Gets The Token this Static Provider was given.

[src]

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

Trait Implementations

impl Clone for StaticProvider
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for StaticProvider
[src]

[src]

Formats the value using the given formatter.

impl ProvideAwsCredentials for StaticProvider
[src]

[src]

Produce a new AwsCredentials.