![](/img/trans.png)
[英]how to update aws keys in ~/.aws/credentials file for a profile using cli?
[英]AWS CLI: The config profile (example) could not be found
我正在尝试使用awscli设置新的命名配置文件
我使用aws configure --profile example
设置了配置文件,但我将所有内容保留为默认设置
现在我得到The config profile (example) could not be found
我什至尝试使用以下方法创建和修改~\\.aws\\config
文件,但无济于事
[example]
region=eu-west-1
output=text
我尝试执行的任何命令都会导致上述错误
我也尝试过重新安装awscli
非常感谢您的帮助,谢谢!
FWIR如果您保留默认值,则将不会创建配置文件,因为默认值均为NONE
。
您的格式不太适合手动创建配置文件配置。
它应该是
[profile example]
region=eu-west-1
output=text
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.