The Grakn Console is used to manage KGMS users.

The Grakn console executable is contained in the main directory of the distribution and is shared with server and cluster functionalities. Once the grakn server is running, to open the Grakn console, navigate to the distribution directory and run:

./grakn console start

Once run, you will be prompted for user credentials. Provided you log in as user with admin privileges, Grakn console allows you to perform the following actions:

  • CREATE a new user:

CREATE USER username WITH PASSWORD userpassword WITH ROLE admin

  • UPDATE an existing user’s password

UPDATE USER username WITH PASSWORD newpassword

  • RETRIEVE all of the present users:

LIST USERS

  • RETRIEVE a user:

GET USER username

  • DELETE an existing user:

DELETE USER username

Tags: