When to use it. A cloud agent, a CI job or any machine where no browser can open for
box login1
Make a key
On a machine where you are signed inThe key is shown only once. Save it as a secret named
BOX_API_KEY (or BOX_TOKEN) in the cloud agent’s environment settings; box reads either one and then needs no box login. Never paste a key into the chat or commit it2
Install in the cloud machine
Add this to the agent’s setup script, or let it run it
3
Keys you have
box key list shows ids and names, never the values. box key delete <id> turns a key off; anything still using it stops working4
What a run looks like
The same as on your machine
