CLI authentication
The Navi CLI authenticates to the public Navi API and stores its local config in:Current supported method
Today, the supported public method is a session cookie:Environment-based configuration
You can also provide runtime values through environment variables:Verify your identity
After logging in, verify the active principal:Log out
To clear locally stored credentials:Token support
The CLI command surface already reserves future support for:- personal access tokens for human CLI users
- service API keys for system integrations
Security guidance
- treat the local config file like a credential-bearing file
- avoid checking session cookies into scripts or source control
- prefer environment variables for short-lived shell sessions
- run
navi auth logouton shared machines when you are done

