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

Method Retrieve

pkg/credentials/iam_aws.go:238–240  ·  view source on GitHub ↗

Retrieve retrieves credentials from the EC2 service. Error will be returned if the request fails, or unable to extract the desired

()

Source from the content-addressed store, hash-verified

236// Error will be returned if the request fails, or unable to extract
237// the desired
238func (m *IAM) Retrieve() (Value, error) {
239 return m.RetrieveWithCredContext(nil)
240}
241
242// A ec2RoleCredRespBody provides the shape for unmarshaling credential
243// request responses.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected