To login into Cryptographic Security Platform Vault, invoke hicli as follows:

$ hicli user login secroot Password for secroot: ********

If you don't specify the --password= option you will be prompted for it on the command line.

After logging in, a user context is set such that all subsequent operations will be performed as that user. To show which user is currently logged on, run the following command:

$ hicli user
Currently logged-on user: secroot

You can also request details about yourself as follows:

$ hicli user detail secroot
Login name               | secroot
Status                   | Active
Full name                | Security Administrator
Email                    | spate@me.com
Last login               | 2018-04-13 10:22:15 PDT
Password Expiration      | Never
Account Expiration       | Never
Failed logins            | 0
Privileges               | SEC_ADMIN,DOMAIN_ADMIN,CLOUD_ADMIN
Groups                   | Domain Admin Group, KeyControl Admin Group,\
                         | Cloud Admin Group
$ hicli user login spate
Password for spate: ********
$ hicli user detail spate 
Login name               | spate
Status                   | Active
Full name                | Steve Pate
Email                    | spate@me.com
Last login               | 2018-04-13 10:21:03 PDT
Password Expiration      | Never
Account Expiration       | 06/09/2020
Failed logins            | 0
Privileges               | CLOUD_ADMIN
Groups                   | Cloud Admin Group

Once you have finished a current session, you can log out as follows:

$ hicli user
Currently logged-on user: spate
$ hicli user logout
$ hicli user
Login first