Calling Get-Ec2Instance
returns:
Get-Ec2Instance : No credentials specified or obtained from persisted/shell defaults.
I did however added the credentials
file under C:\Users\{user name}\.aws
directory
And when I call Get-AWSCredential -ListProfileDetail
I get the expected result:
ProfileName StoreTypeName ProfileLocation
default SharedCredentialsFile C:\Users{user name}.aws\credentials
Any idea?
Thanks