![](/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.