storemyapi
Getting Started

Authentication

Connect the storemyapi CLI to your account using the device login flow.

Authentication

Log in

storemyapi login

This opens your browser to complete the device auth flow. Once you approve the request in the browser, the CLI stores your access token locally and you're authenticated.

Headless / no browser available:

storemyapi login --no-browser

This prints a URL and a device code. Open the URL on any machine, enter the code, and the CLI will detect the approval automatically.

Check who is logged in

storemyapi whoami

Prints the email address of the currently authenticated account.

Log out

storemyapi logout

Clears ~/.storemyapi/config.json and shows how long your session lasted.

Credential storage

Your access token is stored at ~/.storemyapi/config.json. This file contains accessToken and userId. It is never committed to version control. Make sure ~/.storemyapi stays out of any repository.

There is no support for passing a token via an environment variable or --token flag. Authentication is always via the device login flow.

On this page