package
1.10.20
Repository: https://github.com/jadekler/aws-sdk-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package endpointcreds provides support for retrieving credentials from an arbitrary HTTP endpoint.
Package plugincreds implements a credentials provider sourced from a Go plugin.
Package stscreds are credential Providers to retrieve STS AWS credentials.

# Functions

NewChainCredentials returns a pointer to a new Credentials object wrapping a chain of providers.
NewCredentials returns a pointer to a new Credentials with the provider set.
NewEnvCredentials returns a pointer to a new Credentials object wrapping the environment variable provider.
NewSharedCredentials returns a pointer to a new Credentials object wrapping the Profile file provider.
NewStaticCredentials returns a pointer to a new Credentials object wrapping a static credentials value provider.
NewStaticCredentialsFromCreds returns a pointer to a new Credentials object wrapping the static credentials value provide.

# Constants

EnvProviderName provides a name of Env provider.
SharedCredsProviderName provides a name of SharedCreds provider.
StaticProviderName provides a name of Static provider.

# Variables

AnonymousCredentials is an empty Credential object that can be used as dummy placeholder credentials for requests that do not need signed.
ErrAccessKeyIDNotFound is returned when the AWS Access Key ID can't be found in the process's environment.
ErrNoValidProvidersFoundInChain Is returned when there are no valid providers in the ChainProvider.
ErrSecretAccessKeyNotFound is returned when the AWS Secret Access Key can't be found in the process's environment.
ErrSharedCredentialsHomeNotFound is emitted when the user directory cannot be found.
ErrStaticCredentialsEmpty is emitted when static credentials are empty.

# Structs

A ChainProvider will search for a provider which returns credentials and cache that provider until Retrieve is called again.
A Credentials provides synchronous safe retrieval of AWS credentials Value.
A EnvProvider retrieves credentials from the environment variables of the running process.
An ErrorProvider is a stub credentials provider that always returns an error this is used by the SDK when construction a known provider is not possible due to an error.
A Expiry provides shared expiration logic to be used by credentials providers to implement expiry functionality.
A SharedCredentialsProvider retrieves credentials from the current user's home directory, and keeps track if those credentials are expired.
A StaticProvider is a set of credentials which are set programmatically, and will never expire.
A Value is the AWS credentials value for individual credential fields.

# Interfaces

A Provider is the interface for any component which will provide credentials Value.