package
3.0.1+incompatible
Repository: https://github.com/pydio/minio-go.git
Documentation: pkg.go.dev

# Functions

New returns a pointer to a new Credentials with the provider set.
NewChainCredentials returns a pointer to a new Credentials object wrapping a chain of providers.
NewEnvAWS returns a pointer to a new Credentials object wrapping the environment variable provider.
NewEnvMinio returns a pointer to a new Credentials object wrapping the environment variable provider.
NewFileAWSCredentials returns a pointer to a new Credentials object wrapping the Profile file provider.
NewFileMinioClient returns a pointer to a new Credentials object wrapping the Alias file provider.
NewIAM returns a pointer to a new Credentials object wrapping the IAM.
NewStatic returns a pointer to a new Credentials object wrapping a static credentials value provider.
NewStaticV2 returns a pointer to a new Credentials object wrapping a static credentials value provider, signature is set to v2.
NewStaticV4 is similar to NewStaticV2 with similar considerations.

# Constants

10 secs.
Anonymous signature signifies, no signature.
SignatureDefault is always set to v4.
Different types of supported signatures - default is SignatureV4 or SignatureDefault.
Different types of supported signatures - default is SignatureV4 or SignatureDefault.
Different types of supported signatures - default is SignatureV4 or SignatureDefault.

# Structs

A Chain will search for a provider which returns credentials and cache that provider until Retrieve is called again.
Credentials - A container for synchronous safe retrieval of credentials Value.
A EnvAWS retrieves credentials from the environment variables of the running process.
A EnvMinio retrieves credentials from the environment variables of the running process.
A Expiry provides shared expiration logic to be used by credentials providers to implement expiry functionality.
A FileAWSCredentials retrieves credentials from the current user's home directory, and keeps track if those credentials are expired.
A FileMinioClient retrieves credentials from the current user's home directory, and keeps track if those credentials are expired.
A IAM retrieves credentials from the EC2 service, and keeps track if those credentials are expired.
A Static 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.

# Type aliases

SignatureType is type of Authorization requested for a given HTTP request.