IBM Cloud Docs
Login AWS IAM user

Login AWS IAM user

An AWS IAM user can use the following methods to login:

Login AWS IAM user through web console

  1. Login to the console by using the username and secret-access-key as password.
  2. Enter the access-key and login.
  3. 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"