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

Method Retrieve

pkg/credentials/file_aws_credentials.go:145–147  ·  view source on GitHub ↗

Retrieve reads and extracts the shared credentials from the current users home directory.

()

Source from the content-addressed store, hash-verified

143// Retrieve reads and extracts the shared credentials from the current
144// users home directory.
145func (p *FileAWSCredentials) Retrieve() (Value, error) {
146 return p.retrieve()
147}
148
149// RetrieveWithCredContext is like Retrieve(), cred context is no-op for File credentials
150func (p *FileAWSCredentials) RetrieveWithCredContext(_ *CredContext) (Value, error) {

Callers

nothing calls this directly

Calls 1

retrieveMethod · 0.95

Tested by

no test coverage detected