AWS Access Key ID and Secret Access Key Recovery

Recovering Lost AWS Access Key ID and Secret Access Key

Question

To make programmatic calls to AWS, a user was provided an access key ID and secret access key.

However, the user has now forgotten the shared credentials and cannot make the required programmatic calls. How can an access key ID and secret access key be provided to the user?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer: B.

Option A is INCORRECT.

This is an invalid option.

Option B is CORRECT.

Option C is INCORRECT.

This is an incorrect option.

We can create a new access key by logging in to Management Console as a root user.

Option D is INCORRECT.

This is an incorrect option.

We can create a new access key by logging in to Management Console as a root user.

Reference:

https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html

The correct answer is B. Use “Create New Access Key” by logging in to AWS Management Console as the root user.

Explanation:

When a user is provided with an access key ID and secret access key, it is their responsibility to keep these credentials secure. In case the user forgets the shared credentials, they can create new access keys by logging in to the AWS Management Console as the root user.

Option A - Use the “Forgot Password” Option: This option is not applicable in this scenario as the user has forgotten their access key ID and secret access key, not their password.

Option B - Use “Create New Access Key” by logging in to AWS Management Console as the root user: This option is the correct solution to the problem. The root user can create new access keys for the user in question.

Option C - Credentials can not be generated: This option is incorrect. As mentioned above, new access keys can be generated.

Option D - Raise a ticket with AWS Support: This option is not required as the user can resolve the issue by creating new access keys themselves. It is always recommended to contact AWS Support if there is a critical issue or if the user is unable to resolve the issue on their own.

In summary, if a user forgets their access key ID and secret access key, they can create new access keys by logging in to the AWS Management Console as the root user.