Skip to main content

Account Management

Before you can begin releasing app updates, you need to create a Turbopush account. If you don't have one yet, create one here:

https://accounts.turbopush.org/sign-up

Authentication

Most commands within the Turbopush CLI require authentication, and therefore, before you can begin managing your account, you need to login using the Turbopush account you used when registering. You can do this by running the following command:

turbopush login

This will launch a browser, asking you to authenticate or create a Turbopush account. This will generate an access key that you need to copy/paste into the CLI (it will prompt you for it). You are now successfully authenticated and can safely close your browser window.

If at any time you want to determine if you're already logged in, you can run the following command to display the e-mail address associated with your current authentication session:

turbopush whoami

When you login from the CLI, your access key is persisted to disk for the duration of your session so that you don't have to login every time you attempt to access your account. In order to end your session and delete this access key, simply run the following command:

turbopush logout

Access Keys

If you need to be able to authenticate against the Turbopush service without launching a browser and/or without needing to use your credentials (e.g. in a CI environment), you can create an access key in the dashboard.

After creating the new key, you can specify its value using the --accessKey flag of the login command, which allows you to perform "headless" authentication, as opposed to launching a browser.

turbopush login --accessKey <accessKey>

When logging in via this method, the access key will not be automatically invalidated on logout, and can be used in future sessions until it is explicitly removed from the Turbopush server or expires. However, it is still recommended that you log out once your session is complete, in order to remove your credentials from disk.