Skip to main content

Login

The CLI supports two authentication methods:

Browser OAuth (Default)

instapod login
This opens your browser for a secure OAuth PKCE flow. After authorizing, the token is saved to ~/.instapods/config.json.

Email/Password

instapod login --email [email protected] --use-password
You’ll be prompted for your password. The session token is saved locally.

Check Current User

instapod whoami
Displays your email, user ID, and current team.

Logout

instapod logout
Removes the saved token from your local configuration.

Token Management

The CLI stores the auth token in ~/.instapods/config.json. You can also set it via environment variable:
export INSTAPOD_TOKEN=your-token-here
This is useful for CI/CD pipelines and automation scripts.