diff --git a/aws/credentials/shared_credentials_provider.go b/aws/credentials/shared_credentials_provider.go index cabecc1f913..51e21e0f38f 100644 --- a/aws/credentials/shared_credentials_provider.go +++ b/aws/credentials/shared_credentials_provider.go @@ -130,7 +130,7 @@ func (p *SharedCredentialsProvider) filename() (string, error) { return "", ErrSharedCredentialsHomeNotFound } - p.Filename = shareddefaults.SharedConfigFilename() + p.Filename = shareddefaults.SharedCredentialsFilename() return p.Filename, nil }