getstream login & logout
Manage the CLI's session with the Stream Dashboard. The session is stored at ~/.stream/auth.yaml.
getstream login
getstream loginOpens a browser and completes a PKCE flow. Writes a refreshing session to ~/.stream/auth.yaml.
| Flag | Effect |
|---|---|
-g, --guest |
Create a temporary guest account backed by a throwaway app. |
--upgrade |
Open the dashboard to convert a guest account into a personal one. |
getstream login --guest
getstream login --upgradegetstream logout
getstream logoutClears ~/.stream/auth.yaml. Logging out of a guest account discards it permanently, so the CLI asks for confirmation.
| Flag | Effect |
|---|---|
-f, --force |
Skip the confirmation. Required to log out of a guest account non-interactively. |
See also
- Authenticate interactively: how-to
- Projects and credentials: how the session composes with a project
- Use the CLI in CI: the headless path, which uses no session