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

已提問 1 年前檢視次數 189 次
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
專家
已回答 1 年前
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

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南