Skip to content

airt token

Get application token for airt service from a username/password pair.

Before you can use the service, you must acquire a username and password for your developer account. Please contact us by email info@airt.ai to get one.

The username, password, and server address can either be passed explicitly while calling this command or can be stored in environment variables AIRT_SERVICE_USERNAME, AIRT_SERVICE_PASSWORD, and AIRT_SERVER_URL.

Upon successful authentication, the airt services will be available to access.

Usage:

$ airt token [OPTIONS]

Options:

  • -u, --username TEXT: Username for your developer account. If not set (default value None), it will try to use the value from environment variable AIRT_SERVICE_USERNAME.
  • -p, --password TEXT: Password for your developer account. If not set (default value None), it will try to use the value from environment variable AIRT_SERVICE_PASSWORD.
  • -s, --server TEXT: Server address used to connect to. If not set (default value None), it will try to use the value from environment variable AIRT_SERVER_URL. If the variable is not set as well, then the default public server will be used. You should leave this to default value unless you are running your own server (please contact us for that possibility by email info@airt.ai).
  • -q, --quiet: Output authentication token only. [default: False]
  • -d, --debug: Set logger level to DEBUG and output everything. [default: False]
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.
Back to top