Synopsis

fcli ssc access-control create-token -p[=<password>] [--description=<description>] [--expire-in=<expireIn>] -u=<user> [[-h] [--env-prefix=<envPrefix>] [--log-file=<logFile>] [--log-level=<logLevel>]] [[--session=<sessionName>] | [[-k] [--socket-timeout=<socketTimeout>] [--connect-timeout=<connectTimeout>] --url=<url>]] ] [--store=_variableName[=<propertyNames>]] [--to-file=<outputFile>]] <type>

Description

This command can be used either with an existing SSC session (re-using SSC URL and other SSC connection settings), or without an existing session (in which case you’ll need to provide the SSC URL and any other relevant connection settings). SSC always requires user name and password to be specified for token operations, hence you’ll need to provide these even if you already established an SSC session.

Options

--connect-timeout=<connectTimeout>

Connection timeout for this command, for example 30s (30 seconds), 5m (5 minutes). Default value: 10 seconds.

--description=<description>

Token description.

--expire-in=<expireIn>

Expire token after the given time period, which is specified as 30m (30 minutes), 2h (2 hours), 1d (1 day).

-k, --insecure

Disable SSL checks.

-p, --password[=<password>]

SSC password.

Environment variables:

FCLI_DEFAULT_SSC_PASSWORD: Shared with SC SAST/DAST
FCLI_DEFAULT_SSC_SESSION_PASSWORD: Only SSC session commands
--session=<sessionName>

Name of the SSC session to use for executing this command. Default value: default.

--socket-timeout=<socketTimeout>

Socket timeout for this command, for example 30s (30 seconds), 5m (5 minutes). Default value: 5 minutes.

-u, --user=<user>

SSC user name.

Environment variables:

FCLI_DEFAULT_SSC_USER: Shared with SC SAST/DAST
FCLI_DEFAULT_SSC_SESSION_USER: Only SSC session commands
--url=<url>

Base URL for accessing the remote system.

Output options:

-o, --output=format[=<options>]

Specify output format and options. Available output formats: csv, csv-plain, json, json-flat, table, table-plain, tree, tree-flat, xml, xml-flat, yaml, yaml-flat, expr, json-properties. The 'expr' output format takes a string containing '{property}' placeholders, other output formats take an optional, comma-separated list of properties to include in the output. Use '-o json-properties' on the current command to see available properties.

--store=variableName[=<propertyNames>]

Store the JSON results of this command in a variable. Variables can be managed through the 'fcli util variable' command, and can be referenced using ::variable::[property] on any subsequent command.

--to-file=<outputFile>

Write command output to the specified file instead of stdout.

Generic fcli options:

--env-prefix=<envPrefix>

Environment variable prefix for resolving default option and parameter values. Default value is FCLI_DEFAULT.

-h, --help

Show this help message and exit. Use 'fcli <command> -h' to display help for subcommands.

--log-file=<logFile>

File where logging data will be written. Defaults to fcli.log in current directory if --log-level is specified.

--log-level=<logLevel>

Set logging level. Note that DEBUG and TRACE levels may result in sensitive data being written to the log file. Allowed values: TRACE, DEBUG, INFO, WARN, ERROR.

Arguments

<type>

Token type, like CIToken, AnalysisUploadToken, …​