Ravenstash
Docs

rvn auth login

Use browser-backed device login for the Ravenstash CLI and manage active device sessions from account settings.

Updated 2026-06-24

The rvn CLI uses the public DevAPI device-login flow for browser-backed authentication.

Start login

rvn auth login

The CLI starts a device session and asks you to approve it in the browser. During approval, choose the refresh duration for that CLI session.

What gets stored

After approval, rvn stores a short-lived CLI JWT and a rotating refresh token in the OS keyring.

Revoke a session

Open account settings in the web app and review active device sessions. Revoke sessions that are no longer needed.

Automation

Use RVN_TOKEN for PAT or machine-to-machine automation. Browser device login is intended for human developer sessions.