class Mongo::Auth::Aws::CredentialsRetriever

Retrieves AWS credentials from a variety of sources.

This class provides for AWS credentials retrieval from:

The sources listed above are consulted in the order specified. The first source that contains any of the three credential components (access key id, secret access key or session token) is used. The credential components must form a valid set if any of the components is specified; meaning, access key id and secret access key must always be provided together, and if a session token is provided the key id and secret key must also be provided. If a source provides partial credentials, credential retrieval fails with an exception.

@api private