You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a strange issue -> I created an ec2 - linux instance with free tier options, then changed the was cli config file and credential file with my ADMIN role and MFA details. When running aws cli command with the --profile option it is asking for MFA key but I can not type anything on the prompt..
Summary
I am having a strange issue -> I created an ec2 - linux instance with free tier options, then changed the was cli config file and credential file with my ADMIN role and MFA details. When running aws cli command with the --profile option it is asking for MFA key but I can not type anything on the prompt..
Description
linux
$view ~/.aws/credentials ->
[my-profile]
aws_access_key_id=YOUR_ACCESS_KEY
aws_secret_access_key=YOUR_SECRET_KEY
$view ~/.aws/congog ->
[profile my-profile]
region=
[profile my-profile-roletype]
region=
role_arn=arn:aws:iam::xxxxx:role/role_name
source_profile=my-profile
mfa_serial=arn:aws:iam::XXXXXX:mfa/aws_username
When running ->
$ aws s3 ls --profile my-profile-roletype
$ Enter MFA code for arn:aws:iam::XXXXXX:mfa/aws_username:
Expected Behavior
Enter MFA code for arn:aws:iam::XXXXXX:mfa/aws_username: XXXX
Observed Behavior
Enter MFA code for arn:aws:iam::XXXXXX:mfa/aws_username: <curson is not moving here, so can not type anything>
The text was updated successfully, but these errors were encountered: