Login AWS IAM user
An AWS IAM user can use the following methods to login:
Login AWS IAM user through web console
- Login to the console by using the username and
secret-access-key
as password. - Enter the
access-key
and login. - If a user has MFA enabled, on the next page, the user will be asked to enter an MFA code.
Login AWS IAM user through command-line
Without MFA
nzsql -u '"AWSUSER"' -pw "ACCESS-KEY:SECRET-ACCESS-KEY"
With MFA
nzsql -u '"AWSUSER"' -pw "ACCESS-KEY:SECRET-ACCESS-KEY MFA-CODE"