WS eb init缺少等号错误 [英] WS eb init missing equal-sign error

查看:86
本文介绍了WS eb init缺少等号错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行并配置了密钥,其余部分则使用aws configure

I ran and configure the key and the rest with aws configure

但是当我运行eb init时,我得到了错误

But when I run eb init I got the error

错误:"Author"标头中的'init/20160618/us-west-2/elasticbeanstalk/aws4_request'不是有效的键=值对(缺少等号):'AWS4-HMAC-SHA256 Credential = eb init/20160618/us-west-2/elasticbeanstalk/aws4_request,SignedHeaders = host; x-amz-date,Signature = 95e3 ... 56e4'.

ERROR: 'init/20160618/us-west-2/elasticbeanstalk/aws4_request' not a valid key=value pair (missing equal-sign) in Authorization header: 'AWS4-HMAC-SHA256 Credential=eb init/20160618/us-west-2/elasticbeanstalk/aws4_request, SignedHeaders=host;x-amz-date, Signature=95e3...56e4'.

AwsebcliPython应该使用版本EB CLI 3.7.6 (Python 2.7.1)正确设置.有人可以帮我找出原因吗?

Awsebcli and Python should be set up correctly with version EB CLI 3.7.6 (Python 2.7.1). Can someone help me figure out why?

推荐答案

您必须删除或编辑名为.aws的神秘目录上的文件 config ,该目录通常位于C:/User中/{您的用户}/.aws或Unix/用户/{您的用户}/.aws

You have to remove or edit the file config on the occult directory named .aws, this directory usually is in C:/User/{Your user}/.aws or unix /User/{Your user}/.aws

这篇关于WS eb init缺少等号错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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