Skip to content

Start a CLI browser login

POST
/auth/device/code
curl --request POST \
--url https://api.krakenkey.io/auth/device/code \
--header 'Content-Type: application/json' \
--data '{ "clientName": "build-01" }'

Returns a device code for the CLI to poll with and a user code for the user to approve in the dashboard.

Media typeapplication/json
object
clientName

Shown on the approval page and used in the API key name, e.g. the machine hostname

string
Example
build-01

Device and user codes issued