'NoneType'对象没有属性'secret_key' [英] 'NoneType' object has no attribute 'secret_key'

查看:123
本文介绍了'NoneType'对象没有属性'secret_key'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此错误:"NoneType"对象没有属性"secret_key" ,当我尝试使用 git pull 更新应用程序时.我已经配置了AWS凭证位于以下路径: nano/home/$USER/.aws/config .我让它(我提到的档案)如下:

I got this error : ''NoneType' object has no attribute 'secret_key'' when I tried to update my application using git pull.I have already configured the AWS credentials at the following path : nano /home/$USER/.aws/config . I let it (the archive that I mentioned) as follows :

[profile eb-cli]
AWS_ACCESS_KEY_ID=<confidential>
AWS_SECRET_ACCESS_KEY=<confidential>

我该如何解决这个问题?

How can I solve this problem ?

推荐答案

请确保您使用的IAM中的用户具有或您正在使用用户HTTPS CodeCommit凭据.

Make sure the user in IAM you used has or you're using the user HTTPS CodeCommit credentials.

查看如何创建 https代码提交凭据

这篇关于'NoneType'对象没有属性'secret_key'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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