avn user
#
Here you’ll find the full list of commands for avn user
.
Create and manage users and sessions#
Commands for managing project users and avn
client sessions.
avn user access-token
#
Set of commands for managing user’s access tokens. See detailed command information for more information.
avn user create
#
Creates a new user.
Parameter |
Information |
---|---|
|
The email associated to the user |
|
The user’s real name |
Example: Create a new user.
avn user create john.doe@example.com
Example: Create a new user specifying the real name.
avn user create john.doe@example.com --real-name "John Doe"
avn user info
#
Retrieves the current user information such as:
Username
Real name
State (
active
orinactive
)Authentication token validity start date
Associated projects
Authentication method
Example: Retrieve the information for the currently logged user.
avn user info
An example of user information:
USER REAL_NAME STATE TOKEN_VALIDITY_BEGIN PROJECTS AUTH
==================== ========= ====== ================================ ============================= ========
john.doe@example.com John Doe active 2021-08-18T09:24:10.298796+00:00 dev-sandbox, prod-environment password
avn user login
#
Logs the user in.
Parameter |
Information |
---|---|
|
The email associated to the user |
|
Logs in the user with a pre-created token |
Example: Log the john.doe@example.com
user in, and prompt for password.
.. code:
avn user login john.doe@example.com
The user will be prompted to insert the password.
Example: Log the john.doe@example.com
user in, using a pre-created authentication token.
.. code:
avn user login john.doe@example.com --token
The user will be prompted to insert the pre-created authentication token.
avn user logout
#
Logs the user out.
Example: Log the user out. .. code:
avn user logout
avn user tokens-expire
#
Makes all the authentication tokens associated with the user expired.
Example: Make all the authentication tokens expired. .. code:
avn user tokens-expire
See also other access-token related commands