Integration

Configure external integrations

sfp server integration create

Create an integration for specific projects or globally

USAGE
  $ sfp server integration create --provider <value> --auth-type <value> [--json] [--repository <value>] [-e <value>] [-t
    <value>] [--sfp-server-url <value>] [--project <value>... | --global] [--token <value>] [--client-id <value>]
    [--client-secret <value>]

FLAGS
  -e, --email=<value>              Email address for authenticated user. Ignored if --application-token is provided. Can
                                   be set via SFP_SERVER_USER env var.
  -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).
      --auth-type=<value>          (required) Authentication type (e.g., pat, oauth, app)
      --client-id=<value>          OAuth client ID
      --client-secret=<value>      OAuth client secret
      --global                     Store as global integration (available to all projects)
      --project=<value>...         Project identifier (can be specified multiple times)
      --provider=<value>           (required) Integration provider (e.g., github)
      --repository=<value>         The repository identifier. E.g `owner/repo` for GitHub/GitLab or `org/project/repo`
                                   for Azure DevOps
      --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
      --token=<value>              Personal access token for PAT auth

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Create an integration for specific projects or globally

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

sfp server integration delete

Delete an integration

See code: src/commands/server/integration/delete.tsarrow-up-right

sfp server integration get

Get integration credentials by project

See code: src/commands/server/integration/get.tsarrow-up-right

sfp server integration list

List all integrations

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

Last updated

Was this helpful?