Aws how to access user

0

How can we access user through command line interface if there is no availability of AWS Access Key ID and AWS Secret Access Key

2개 답변
0

Assuming you want to specifically use CLI, I’d suggest to look into the upload login profile CLI command to issue password reset. If you don’t want to do that, then you could look on below references and see if they help.

profile picture
전문가
답변함 일 년 전
0

There are various ways. For example, if you would like to issue CLI from EC2, you can use IAM role to achieve this.

Refer to below from EC2 guide. But developers would then have to manage the credentials and ensure that they securely pass the credentials to each instance and update each Amazon EC2 instance when it's time to rotate the credentials. That's a lot of additional work. Instead, you can and should use an IAM role to manage temporary credentials for applications that run on an Amazon EC2 instance. When you use a role, you don't have to distribute long-term credentials (such as a sign-in credentials or access keys) to an Amazon EC2 instance.

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2.html

답변함 일 년 전

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

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

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