Когда я ввожу aws -acess-id и aws -secret-key /: «ERROR: NotAuthorizedError - Operation Denied. Токен безопасности, включенный в запрос, недействителен:» - PullRequest
0 голосов
/ 13 июля 2020

Когда я ввожу aws -acess-id и aws -secret-key, я пробовал разные aws ключи, тоже сгенерированные из "labs.vocareum.com". Это вызывает ошибки: "ERROR: NotAuthorizedError - Операция отклонена. Токен безопасности, включенный в запрос, недействителен: «

Ошибка

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.    

1 Ответ

0 голосов
/ 13 июля 2020

AWS Educate, похоже, разрешает Beanstalk:

AWS Academy также будет использовать vocareum, поэтому могут применяться аналогичные ограничения.

Однако все учетные данные, которые вы получаете от vocareum, являются временными . Мне кажется, что у вас уже просрочено . Таким образом, вам может потребоваться обновить sh их, создав новую среду песочницы и получив новые ключи.

...