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

Method RetrieveWithCredContext

pkg/credentials/credentials.go:63–63  ·  view source on GitHub ↗

RetrieveWithCredContext returns nil if it successfully retrieved the value. Error is returned if the value were not obtainable, or empty. optionally takes CredContext for additional context to retrieve credentials.

(cc *CredContext)

Source from the content-addressed store, hash-verified

61 // value. Error is returned if the value were not obtainable, or empty.
62 // optionally takes CredContext for additional context to retrieve credentials.
63 RetrieveWithCredContext(cc *CredContext) (Value, error)
64
65 // Retrieve returns nil if it successfully retrieved the value.
66 // Error is returned if the value were not obtainable, or empty.

Callers 2

GetWithContextMethod · 0.65

Implementers 7

testCredProviderpkg/credentials/chain_test.go
Chainpkg/credentials/chain.go
EnvMiniopkg/credentials/env_minio.go
FileMinioClientpkg/credentials/file_minio_client.go
credProviderpkg/credentials/credentials_test.go
EnvAWSpkg/credentials/env_aws.go
Staticpkg/credentials/static.go

Calls

no outgoing calls

Tested by

no test coverage detected