Expand description
Types for loading and managing AWS access credentials for API requests.
Modules§
- claims
- Credential Claims module.
Structs§
- Auto
Refreshing Provider - Wrapper for
ProvideAwsCredentialsthat caches the credentials returned by the wrapped provider. Each time the credentials are accessed, they are checked to see if they have expired, in which case they are retrieved from the wrapped provider again. - AwsCredentials
- AWS API access credentials, including access key, secret key, token (for IAM profiles), expiration timestamp, and claims from federated login.
- Chain
Provider - Provides AWS credentials from multiple possible sources using a priority order.
- Container
Provider - Provides AWS credentials from a task’s IAM role.
- Credentials
Error - Represents an Error that has occured during the fetching Credentials Phase.
- Default
Credentials Provider - Wraps a
ChainProviderin anAutoRefreshingProvider. - Environment
Provider - Provides AWS credentials from environment variables.
- Instance
Metadata Provider - Provides AWS credentials from a resource’s IAM role.
- Profile
Provider - Provides AWS credentials from a profile in a credentials file, or from a credential process.
- Secret
- Newtype (pattern) to protect secret credentials stored as Strings.
- Static
Provider - Provides AWS credentials from statically/programmatically provided strings.
Enums§
- Variable
- Variable is an abstraction over parameters to credential providers, allowing to abstract on how (source) and when (time) parameter values are resolved. A lot of credentials providers use external information sources such as environment variables or files to obtain parameter values needed to produce AWS credentials.
Traits§
- Anonymous
- Representation of anonymity
- Provide
AwsCredentials - A trait for types that produce
AwsCredentials.