AWS:找不到配置文件 (MyName) [英] AWS : The config profile (MyName) could not be found

查看:38
本文介绍了AWS:找不到配置文件 (MyName)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我想用 AWS 配置一些东西时,我都会收到以下错误:

Every time I want to config something with AWS I get the following error :

"The config profile (myname) could not be found"

喜欢:aws 配置

我使用的是 Python 3.4 并且我想使用 AWS CLI 密钥环来加密我的凭证..

I'm using Python 3.4 and I want to use AWS CLI Keyring to encrypt my credentials..

推荐答案

我认为 http://docs.aws.amazon.com/lambda/latest/dg/setup-awscli.html,它没有提到你应该编辑文件 ~/.aws/config 添加您的用户名配置文件.有两种方法可以做到这一点:

I think there is something missing from the AWS documentation in http://docs.aws.amazon.com/lambda/latest/dg/setup-awscli.html, it did not mention that you should edit the file ~/.aws/config to add your username profile. There are two ways to do this:

  1. 编辑~/.aws/config

aws configure --profile "你的用户名"

这篇关于AWS:找不到配置文件 (MyName)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆