onmcu login
Store an OnMCU API key in the operating system keyring.
onmcu login prompts for an API key and saves it in the operating system keyring:
onmcu loginCreate or retrieve the key at app.onmcu.com/settings. In an interactive terminal, the prompt shows the first five characters so you can confirm which key you pasted and replaces the remainder with *. The CLI validates the key's <version>_<uuid>_<secret> structure before storing it, then confirms with ✅ API key saved.
Replace the current key
If an entry already exists, the command leaves it unchanged and asks you to use --relogin:
onmcu login --reloginThe short form is also available:
onmcu login -rHeadless environments
login requires a supported OS keyring. For CI or a headless system without a Secret Service provider, skip login and pass an API key through the environment:
export ONMCU_API_KEY='your-api-key'
onmcu list-boards --api-key-from-envSee Authentication for keyring requirements and secret-handling guidance.