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