Why Keypair is now being automatically downloaded upon creation?

0

Keypair generation on AWS Console previously asked if I wanted to download the new keypair generated. Recently it is automatically downloading without my autorization. Why? This is not secure. I am using Firefox browser. I also tried with Private Browser session and it is still downloading the new keypair without my authorization.

질문됨 2년 전351회 조회
3개 답변
0

You have to understand the usecase of creating keypair in the console.

By creating keypair in the console, you already give the permission to download because otherwise you will NOT create one in the first place and you don't get to download it after creation.

You don't have access to your private keys anymore after creation. That's why it's auto downloading so you will have your private key.

If you don't want auto download, don't create the key in AWS console.

Jason_S
답변함 2년 전
  • No. I don't need to give permission to download. It didn't work like that before. In fact, using Safari browser I still receive the prompt to choose if I want to download. You are missing something important, I decide the action according to my use case. Can an EC2 run without keypair? No. Thank you.

  • An EC2 instance can run without a keypair. It's very common to create an EC2 instance without a key pair and use Simple System Manager (SSM) to access the console of the instance.

  • If you don't want to download the key just don't create it in the first place. If that's not feasible for you can you elaborate more as to what is your usecase?

0

If you don't download the private key, what use the public key is then? Meaning the default, and only sensible action is to download it. You can only download private at creation time, after that you can deploy the keypair to instance but there is no way of getting private key so it is kind of useless. Or am I missing something?

profile picture
전문가
Kallu
답변함 2년 전
  • Seem that Jason_S beat me by 2 minutes :-)

  • It is being very useful. We can't run EC2 without keypair right? Such credentials should never be automatically downloaded. Need to keep the prompt.

0

I don't think the issue is to do with AWS. It is browser settings that's causing the issue in my opinion. Check the option "always ask you where to save files" under Downloads in the Firefox settings. This should start throwing the prompt you are looking for. If not the issue should be in similar lines. Tweak your browser settings till you get a prompt. A bit of Google search can help if my suggestion above doesn't resolve your problem. I think you also have options to specify for what file extension types you need a prompt. Check firefox support QnAs for more.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠