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 email@example.com 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.
$ airt token [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 firstname.lastname@example.org).
-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.