Application Token

Create and revoke application tokens

sfp server application-token create

Create a new application token

USAGE
  $ sfp server application-token create -n <value> [--json] [-x <value>] [--sfp-server-url <value>] [-e <value> | ] [-g <value>...]
    [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -e, --email=<value>               Email address for the autenticated cli user (check sfp server user auth)
  -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.
  -n, --name=<value>                (required) Name of the token
  -x, --expires-in=<value>          [default: 30] Token expiration time in days
      --loglevel=<option>           [default: info] logging level for this command invocation
                                    <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
      --sfp-server-url=<value>      [default: http://localhost:3029, env: SFP_SERVER_URL] URL of the SFP server, You can
                                    also set this using the `SFP_SERVER_URL` environment variable

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Create a new application token

EXAMPLES
  $ sfp server application-token create --name "CI Token" --expires-in 30 --email [email protected]

See code: src/commands/server/application-token/create.tsarrow-up-right

sfp server application-token list

List all application tokens

See code: src/commands/server/application-token/list.tsarrow-up-right

sfp server application-token revoke

Revoke an application token

See code: src/commands/server/application-token/revoke.tsarrow-up-right

Last updated

Was this helpful?