how to set AWS default profile for AWS Tools for Powershell
If I am using AWS CLI commands ("aws"), it works to have it pick up the profile I'm using if I set the environment variable AWS_PROFILE so that I don't have to specify credentials or region for each command. This does not work for the AWS Powershell commands. I have to use -ProfileNa开发者_如何学运维me to get those to work. Can anyone tell how to make this work so that I don't have to specify profile related stuff in each command line?
精彩评论