GetCreds returns the access creds for the client
()
| 1159 | |
| 1160 | // GetCreds returns the access creds for the client |
| 1161 | func (c *Client) GetCreds() (credentials.Value, error) { |
| 1162 | if c.credsProvider == nil { |
| 1163 | return credentials.Value{}, errors.New("no credentials provider") |
| 1164 | } |
| 1165 | return c.credsProvider.GetWithContext(c.CredContext()) |
| 1166 | } |
nothing calls this directly
no test coverage detected