开发者

how to set AWS default profile for AWS Tools for Powershell

开发者 https://www.devze.com 2022-12-07 22:41 出处:网络
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 regio

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

精彩评论

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