If you have specified the AppRole authentication method in the configuration file, then you should also specify the role_id and secret_id configuration items.
For example, in the configuration file:
auth_type=approle auth_path=approle role_id=db02de05-fa39-4855-059b-67221c5c2f63 secret_id=6a174c20-f6de-a53c-74d2-6018fcceff64