Configure users with CLI.
This example adds a new user, specifying user name, user email address, and roles.
$ efa auth user add --userName testabc --emailID testabc@gmail.com --roles SystemAdmin
This example blocks a specified user.
$ efa auth user block-unblock --userName=testUser --isBlock=true
This example unblocks a specified user.
$ efa auth user block-unblock --userName=testUser --isBlock=false
This example resets a password. Not all of the output is shown here.
$ efa auth user reset --password testabc --resetLink eyJhbGciOiJSUzI1NiI......LQ
This example requests a password reset for a specified user.
$ efa auth user request-reset-password --userName testabc --emailID testabc@gmail.com
This example deletes a specified user.
$ efa auth user delete --userName testabc Deleted User configuration successfully. --- Time Elapsed: 405.54142ms ---
This example lists active users with authentication type of HOST.
$ efa auth user show-active --authType=HOST +----------+-----------+-----------------------------------------+ | Username | Auth Type | Active Since | +----------+-----------+-----------------------------------------+ | anoop | HOST | 2022-03-07 10:01:52.094972524 +0530 IST | +----------+-----------+-----------------------------------------+