Skip to content

eb init ERROR: ServiceError - Credential must have exactly 5 slash-delimited elements

0

I entered incorrect credential info the first time I tried to set up eb with eb init. Now, it gives this error and does not allow me to run eb in cli. How can I clear/break out of this error?

asked 2 years ago677 views
1 Answer
1
Accepted Answer

Hello.

I think there is a mistake in the access key and secret access key as shown in the stackoverflow answer below.
https://stackoverflow.com/questions/50873219/aws-credential-must-have-exactly-5-slash-delimited-elements

In the case of Linux, the access key should be set in "~/.aws/credentials", so open the file and try modifying it.
In the case of Windows, I think the access key is set in "%USERPROFILE%.aws\credentials".
You can also run the "aws configure" command again to reconfigure the correct access key.
https://docs.aws.amazon.com/cli/latest/userguide/cli-authentication-user.html#cli-authentication-user-configure.title

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.