MCPcopy
hub / github.com/minio/minio-go / EnvAWS

Struct EnvAWS

pkg/credentials/env_aws.go:30–32  ·  pkg/credentials/env_aws.go::EnvAWS

A EnvAWS retrieves credentials from the environment variables of the running process. EnvAWSironment credentials never expire. EnvAWSironment variables used: * Access Key ID: AWS_ACCESS_KEY_ID or AWS_ACCESS_KEY. * Secret Access Key: AWS_SECRET_ACCESS_KEY or AWS_SECRET_KEY. * Secret Token:

Source from the content-addressed store, hash-verified

28// * Secret Access Key: AWS_SECRET_ACCESS_KEY or AWS_SECRET_KEY.
29// * Secret Token: AWS_SESSION_TOKEN.
30type EnvAWS struct {
31 retrieved bool
32}
33
34// NewEnvAWS returns a pointer to a new Credentials object
35// wrapping the environment variable provider.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected