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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则