Access Keys

Keys are used to provide an alternative method of authentication to create a persistent session. They take precedence over a session created through the login command. Only one key pair of access keys are allowed at a time. Keys must be stored inside of an access.json file. The location is dependent on the OS you are using. Below is the format required of the access.json file.

{
    "publicKey": "**********",
    "privateKey": "**********"
}

Location to store access.json file

The location where to store this file differs depending on your operating system. For Linux/Mac OS, you must store it within this directory ~/.config/seekrit/. For Windows OS, you must store it within this directory %LOCALAPPDATA%\seekrit.

seekrit keys:create

Generates new access key pair.

USAGE
  $ seekrit keys:create

seekrit keys:delete

Deletes public and private access key pair.

Do not forget about your access.json file!

If you delete your access keys, you must delete your access.json file or update it with valid access keys. If you do not do so, you will be unable to login or perform requests because access keys takes precedence over the login command created session.

USAGE
  $ seekrit keys:delete KEY

ARGUMENTS
  KEY  Public access key.

seekrit keys:list

List public access key.

USAGE
  $ seekrit keys:list