# Functions
GetUsernameFromSession returns the IAM username (or root) associated with the current aws session.
LoadConfig loads and parses a config file.
LoadConfigFromEnv finds the config file from the environment.
NewAssumeRoleProvider returns a provider that generates credentials using AssumeRole.
NewAssumeRoleWithWebIdentityProvider returns a provider that generates credentials using AssumeRoleWithWebIdentity.
NewCredentialProcessProvider creates a provider to retrieve credentials from an external executable as described in https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes.
NewMasterCredentialsProvider creates a provider for the master credentials.
NewSSORoleCredentialsProvider creates a provider for SSO credentials.
NewTempCredentialsProvider creates a credential provider for the given config.
# Constants
DefaultChainedSessionDuration is the default duration for GetSessionToken sessions when chaining.
DefaultSessionDuration is the default duration for GetSessionToken or AssumeRole sessions.
# Structs
AssumeRoleProvider retrieves temporary credentials from STS using AssumeRole.
AssumeRoleWithWebIdentityProvider retrieves temporary credentials from STS using AssumeRoleWithWebIdentity.
CachedSessionProvider retrieves cached credentials from the keyring, or if no credentials are cached retrieves temporary credentials using the CredentialsFunc.
ConfigFile is an abstraction over what is in ~/.aws/config.
ConfigLoader loads config from configfile and environment variables.
CredentialProcessProvider implements interface aws.CredentialsProvider to retrieve credentials from an external executable as described in https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes.
FederationTokenProvider retrieves temporary credentials from STS using GetFederationToken.
KeyringProvider stores and retrieves master credentials.
Mfa contains options for an MFA device.
ProfileConfig is a collection of configuration options for creating temporary credentials.
ProfileSection is a profile section of the config file.
SessionTokenProvider retrieves temporary credentials from STS using GetSessionToken.
SSORoleCredentialsProvider creates temporary credentials for an SSO Role.
SSOSessionSection is a [sso-session] section of the config file.