Auth

Allows to authenticate to a sfp server

sfp server auth clear

This command clears all the local tokens created by sfp server auth login command

USAGE
  $ sfp server auth clear [--json] [-e <value> | -a] [-g <value>...] [--loglevel
    trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -a, --all                         Clear all users
  -e, --email=<value>               Email of the user
  -g, --logsgroupsymbol=<value>...  Symbol used by CICD platform to group/collapse logs in the console. Provide an
                                    opening group, and an optional closing group symbol.
      --loglevel=<option>           [default: info] logging level for this command invocation
                                    <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  This command clears all the local tokens created by sfp server auth login command

EXAMPLES
  $ sfp server auth clear --email [email protected]

  $ sfp server auth clear --all

See code: src/commands/server/auth/clear.ts

sfp server auth display

Display authentication token information

See code: src/commands/server/auth/display.ts

sfp server auth list

This command lists all auth tokens of users and its status stored locally

See code: src/commands/server/auth/list.ts

sfp server auth login

Authenticate with the SFP server using various authentication strategies. This creates a JWT token stored securely in the keychain for subsequent commands.

See code: src/commands/server/auth/login.ts

Last updated

Was this helpful?