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

Function NewEnvMinio

pkg/credentials/env_minio.go:37–39  ·  view source on GitHub ↗

NewEnvMinio returns a pointer to a new Credentials object wrapping the environment variable provider.

()

Source from the content-addressed store, hash-verified

35// NewEnvMinio returns a pointer to a new Credentials object
36// wrapping the environment variable provider.
37func NewEnvMinio() *Credentials {
38 return New(&EnvMinio{})
39}
40
41func (e *EnvMinio) retrieve() (Value, error) {
42 e.retrieved = false

Callers

nothing calls this directly

Calls 1

NewFunction · 0.70

Tested by

no test coverage detected