Struct aws_sdk_rust::aws::common::credentials::EnvironmentProvider [] [src]

pub struct EnvironmentProvider;

Provides AWS credentials from environment variables. If you decide to use environment variables then the first two listed below are required. The third is used for temporary AWS access and not normally used by third party applications.

  1. AWS_ACCESS_KEY_ID - (required - if using environment variables)
  2. AWS_SECRET_ACCESS_KEY - (required - if using environment variables)
  3. AWS_SESSION_TOKEN - (optional - if using environment variables)

Methods

impl EnvironmentProvider
[src]

Trait Implementations

impl Clone for EnvironmentProvider
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EnvironmentProvider
[src]

Formats the value using the given formatter.

impl AwsCredentialsProvider for EnvironmentProvider
[src]

Produce a new AwsCredentials.