Repository
sfp server repository auth-token
sfp server repository auth-tokenUSAGE
$ sfp server repository auth-token -r <value> [--json] [-e <value>] [-t <value>] [--sfp-server-url <value>] [-g <value>...]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
FLAGS
-e, --email=<value> Email address for authenticated user. Ignored if --application-token is provided.
Can be set via SFP_SERVER_USER env var.
-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.
-r, --repository=<value> (required) Repository identifier in format owner/repo (GitHub/GitLab) or
org/project/repo (Azure DevOps). Repository must be registered as a project.
-t, --application-token=<value> Application token for CI/CD authentication. Can be set via SFP_SERVER_TOKEN env var
(CLI flags take precedence over env vars).
--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> URL of the SFP server. Can be set via SFP_SERVER_URL env var or config: sfp
config:set server-url
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Generate an authentication token for a specific repository (requires application token)
EXAMPLES
$ sfp server repository auth-token --repository flxbl-io/sf-core --application-token YOUR_APP_TOKEN
$ sfp server repository auth-token -r flxbl-io/sf-core --application-token YOUR_APP_TOKEN --jsonsfp server repository npmrc
sfp server repository npmrcLast updated
Was this helpful?