sked tenant login

Overview

Logs in to, and stores the token for a skedulo tenant (team).

$ sked tenant login <command>

Commands

Command Description
web Log in to Skedulo using the web interface
access-token Log in to Skedulo using a access token

web

Description

Log in to Skedulo using the web interface.

Usage

$ sked tenant login web [--json] [-a <value>] [-d] [-t <value>] [-l <value> -u]

Examples

$ sked tenant login web -a <alias> -t <tenant>

$ sked tenant login web -a <alias> -t <tenant> -d

$ sked tenant login web -a <alias> -t <tenant> -e staging

Flags

Flag Description Required
-a, –alias= The alias you wish to set for this token No
-d, –set-default Marks this as the default token No
-l, –token-lifetime= Generate a long lived token, specify the length in hours or 0 for indefinite No
-t, –tenant-name= The name of the tenant to log in to No
-u, –upgrade-token Upgrade to a long lived token No

Global flags

Flag Description Required
--json Format output as json. No

access-token

Description

Log in to Skedulo using a access token.

Usage

$ sked tenant login access-token [--json] [-a <value>] [-l <value>] [-d]

Examples

  $ sked tenant login access-token -a <alias> -d

  $ sked tenant login access-token --alias=<alias> --set-default --environment=test

Flags

Flag Description Required
-a, –alias= The alias you wish to set for this token No
-d, –set-default Marks this as the default token No
-l, –token-lifetime= Generate a long lived token, specify the length in hours or 0 for indefinite No

Global flags

Flag Description Required
--json Format output as json. No