Device login
View MarkdownOn a remote server or container with no browser:
nodus login --deviceThe CLI prints a code like BDWP-HMTR and a link. Open the link on any device where you are signed in, check that
the code matches, pick the orgs and approve. The CLI finishes on its own within a few seconds. The code works for 10
minutes; denying it stops the login.
The CLI polls every 5 seconds. Every key it receives is the same kind nodus login creates: one per chosen org,
90 days, revocable with nodus logout or nodus delete apikey.
Pass an existing key instead of signing in:
echo "$NODUS_API_KEY" | nodus login --with-tokenPrefer a service account token for CI, so it keeps working when people leave.