Find secret key

0

Greetings, I opened AWS console using IAM > Users > User I opened the Security credentials tab where I can locate the Access keys.

I used the AWS CLI typing: aws configure get aws_access_key

There was no output in the console?? Can anyone please assist to locate the Secret Key?

Thanks Clive

Clives
asked 2 months ago140 views
1 Answer
1

The aws configure get command retrieves information already configured by aws configure. Therefore, if you have not set up the CLI using aws configure on the machine where the command is executed, you cannot get the information.

https://docs.aws.amazon.com/cli/latest/reference/configure/get.html

The secret access key can be downloaded only when it is created. It is better to re-create it and download a new key.

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_RotateAccessKey

profile picture
EXPERT
shibata
answered 2 months 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.

Guidelines for Answering Questions