Last modified October 16, 2017
gsctl login you can authenticate against an API endpoint. Your session will
stay authenticated until you use
The standard form of executing a login against an endpoint:
$ gsctl login <email> [-e|--endpoint <endpoint>]
$ gsctl login email@example.com -e https://api.g8s.example.eu-central-1.aws.gigantic.io Password for firstname.lastname@example.org on https://api.g8s.example.eu-central-1.aws.gigantic.io:
The password will not be displayed during input.
--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.
For usage in a script or any other type of information, the password can be
provided as a command line argument using the
--password option. The
syntax is as follows:
$ gsctl login <email> -e <endpoint> -p <password>