简体   繁体   中英

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:"

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 Academy will also use vocareum , so similar limitations may apply.

However, all credentials that you get from vocareum are temporary . 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM