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 réponses
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
EXPERT
répondu il y a un an
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

répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions