开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜