Users
Manage users.
Create a user
Allows to create a user using the CLI. The username must be unique and the email account should not have been used previously for another user.
This will create an inactive user in Giza, to activate it you need to verify your user through the verification email.
If there is an error or you want to have more information about what it's going on there is a --debug
flag that will add more information about the error. This will print outgoing requests to the API, debug logs and python traceback about what happened.
⚠️Note: be aware that the debug option will print everything that its going to the API, in this case the password will be printed as plain text in the terminal, if you are using the debug option to fill an issue make sure to remove the credentials.
Login a user
Log into Giza platfrom and retrieve a JWT for authentication. This JWT will be stored to authenticate you later until the token expires.
You need te have an active account to log in
Once activated you can successfully log into Giza:
If you want force the renewal of the token you can use --renew
to force the log in. If the flag is not present we verify if there has been a previous log in and check that the token it's still valid.
With --renew
:
Note: --debug
its also available.
Create API key
Create an API key for the current user. This API key will be stored and will be used to authenticate the user in the future.
You need te have an active account to log in
Now you can use the API key to authenticate yourself withouth the need of login again and again.
NOTE: The usage of API key is less secure than JWT, so use it with caution.
Retrieve my user info
Retrieve information about the current user.
You need te have an active account
Note: --debug
its also available.
Last updated