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

Struct Chain

pkg/credentials/chain.go:45–48  ·  pkg/credentials/chain.go::Chain

A Chain will search for a provider which returns credentials and cache that provider until Retrieve is called again. The Chain provides a way of chaining multiple providers together which will pick the first available using priority order of the Providers in the list. If none of the Providers retr

Source from the content-addressed store, hash-verified

43// log.Fatalln(err)
44// }
45type Chain struct {
46 Providers []Provider
47 curr Provider
48}
49
50// NewChainCredentials returns a pointer to a new Credentials object
51// wrapping a chain of providers.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected