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

Struct EnvMinio

pkg/credentials/env_minio.go:31–33  ·  view source on GitHub ↗

A EnvMinio retrieves credentials from the environment variables of the running process. EnvMinioironment credentials never expire. Environment variables used: * Access Key ID: MINIO_ACCESS_KEY. * Secret Access Key: MINIO_SECRET_KEY. * Access Key ID: MINIO_ROOT_USER. * Secret Access Key: MI

Source from the content-addressed store, hash-verified

29// * Access Key ID: MINIO_ROOT_USER.
30// * Secret Access Key: MINIO_ROOT_PASSWORD.
31type EnvMinio struct {
32 retrieved bool
33}
34
35// NewEnvMinio returns a pointer to a new Credentials object
36// wrapping the environment variable provider.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected