Using Dis.co in Production (API keys)

Create API key from web UI

  1. Click your profile avatar and select Settings:

  2. In the Settings page click the API Keys tab:

    mceclip0.png

  3. Click Create API Key.

  4. In the Create API Key page, type in the key name and expiration date:

    mceclip2.png

    You can set an expiration date or leave it unset.

  5. Click Create to create your key.

    Your key is created and displayed in the API keys table:

    mceclip3.png

    From the table, you can copy your key using the Copy button.

    mceclip4.png

    You can also disable the key from the table menu

    mceclip5.png

    The disabled key in the table:

    mceclip9.png

Using API Key for authentication (CLI)

Copy the key from the API keys table, use the CLI login command and the --key option.

disco login --key 95a84742-cb32-4870-9b3c-e34343ba98794