Last modified October 16, 2017

gsctl login

With gsctl login you can authenticate against an API endpoint. Your session will stay authenticated until you use gsctl logout.


The standard form of executing a login against an endpoint:

$ gsctl login <email> [-e|--endpoint <endpoint>]


$ gsctl login -e
Password for on

The password will not be displayed during input.

The -e/--endpoint flag is optional. If you have been logged in with the same endpoint before and it is still the selected one, which you can check using gsctl info, you can omit the endpoint part.

Non-interactive login

For usage in a script or any other type of information, the password can be provided as a command line argument using the -p or --password option. The syntax is as follows:

$ gsctl login <email> -e <endpoint> -p <password>