Create Client Keys

Client keys are pairs (Client ID + Client Secret) composed of random hexadecimal numbers which enables your code/program to authenticate with our servers and grant you access to various Bloq services.

Using the CLI

The CLI has the 'bcl client-keys' command with a set of arguments that lets you create, list, and revoke client keys.

To create a new pair of client keys, run bcl client-keys create on a terminal. Remember that you first need to be authenticated (with the bcl login command) into Bloq to perform this operation.

bcl client-keys create
ℹ Creating new pair of client keys for user [email protected].
? Do you want bcl to store your tokens locally for future usage? Yes
✔ Generated new client keys:
   * Client ID:  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   * Client Secret:  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

ℹ Client secret was copied to clipboard.
WARN  You will be not able to see your client secret again. Remember to copy it and keep it safe.

Copy the Client ID and Client Secret and keep them safe. You now have everything to start using Bloq Services.

Last updated

Was this helpful?