简体   繁体   English

当我输入 aws-acess-id 和 aws-secret-key / 时:“错误:NotAuthorizedError - 操作被拒绝。 请求中包含的安全令牌无效:”

[英]When I enter aws-acess-id and aws-secret-key /: “ERROR: NotAuthorizedError - Operation Denied. The security token included in the request is invalid:”

When I enter aws-acess-id and aws-secret-key I tried different aws keys too generated from "labs.vocareum.com" It throws errors: "ERROR: NotAuthorizedError - Operation Denied. The security token included in the request is invalid:"当我输入 aws-acess-id 和 aws-secret-key 时,我尝试了从“labs.vocareum.com”生成的不同 aws 密钥它抛出错误:“错误:NotAuthorizedError - 操作被拒绝。请求中包含的安全令牌无效:"

Error错误

C:\Users>eb init -p python port-aws
You have not yet set up your credentials or your credentials are incorrect
You must provide your credentials.
(aws-access-id): ------(enter key from aws account)-------
(aws-secret-key): --------(enter key from aws account)----
ERROR: NotAuthorizedError - Operation Denied. The security token included in the request is       
invalid.

ReEnter重新输入

C:\Users>eb init -p python port-aws
ERROR: The current user does not have the correct permissions. Reason: Operation Denied. The    
security token included in the request is invalid.
ERROR: The current user does not have the correct permissions. Reason: Operation Denied. The  
security token included in the request is invalid.  
You have not yet set up your credentials or your credentials are incorrect
You must provide your credentials.
(aws-access-id): ------(enter key from aws account)-------
(aws-secret-key): ------(enter key from aws account)-------
ERROR: NotAuthorizedError - Operation Denied. The security token included in the request is
invalid.    

AWS Educate does seem to allow Beanstalk: AWS Educate 似乎确实允许 Beanstalk:

AWS Academy will also use vocareum , so similar limitations may apply. AWS Academy 也将使用vocareum ,因此可能适用类似的限制。

However, all credentials that you get from vocareum are temporary .但是,您从vocareum获得的所有凭据都是临时的。 It seem to me that they have already expired for you.在我看来,它们对你来说已经过期了。 Thus you may need to refresh them by creating new sandbox environment and getting new keys.因此,您可能需要通过创建新的沙箱环境并获取新密钥来刷新它们。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:使用Boto python时,“请求中包含的安全令牌无效” - Error: “The security token included in the request is invalid” when using Boto python AWS Lambda,调用 PutObject 操作时发生错误 (InvalidToken):提供的令牌格式错误或无效 - AWS Lambda, An error occurred (InvalidToken) when calling the PutObject operation: The provided token is malformed or otherwise invalid 尝试使用AWS S3BotoStorage时出现“ SECRET_KEY设置不得为空”错误 - Getting a “The SECRET_KEY setting must not be empty” error when I try to use AWS S3BotoStorage Django/AWS - 调用 HeadObject 操作时发生错误(403):禁止 - Django/AWS - An error occurred (403) when calling the HeadObject operation: Forbidden gunicorn - django - boto - 通过S3保存静态文件 - 如何将AWS_ACCESS_KEY_ID和AWS_SECRET_ACCESS_KEY设置为环境变量 - gunicorn - django - boto -serve static files via S3 - how to set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as environment variables 部署到 AWS 服务器时 django 应用程序的 CSRF 令牌错误 - CSRF token error for django app when deploying to AWS server AWS S3访问被拒绝错误 - AWS S3 Access Denied Error 将Python Django与AWS EC2 Ubuntu上托管的apache服务器一起使用时在哪里存储支付网关密钥 - Where to store payment gateway secret key when using python Django with apache server hosted on aws ec2 Ubuntu 确认设备上的 AWS Cognito Boto3 错误:给出的设备密钥无效 - AWS Cognito Boto3 Error on Confirm Device: Invalid device key given [Django][AWS S3] botocore.exceptions.clienterror 调用 PutObject 操作时发生错误(访问被拒绝) - [Django][AWS S3] botocore.exceptions.clienterror an error occurred (accessdenied) when calling the PutObject operation
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM