rspm import github-app

Command to import GitHub App credentials

Terminal
rspm import github-app [flags]

Examples

Terminal
  # Import GitHub App credential
  rspm import github-app --name=[credential name] --client-id=[client-id] --installation-id=[installation-id] --private-key=[private-key-pem]
  
  # Import with private key from file
  rspm import github-app --name=[credential name] --client-id=[client-id] --installation-id=[installation-id] --private-key="$(cat /path/to/private-key.pem)"

Options

Terminal
      --client-id string         The GitHub Client ID for the GitHub App credential.
  -h, --help                     help for github-app
      --installation-id string   The GitHub App Installation ID for the GitHub App credential.
      --name string              The name of the GitHub App key used in PPM git builder jobs.
      --private-key string       The GitHub App private key (PEM format) for the GitHub App credential.
      --succeed-on-existing      Do not return an error if the credentials already exist.

Options inherited from parent commands

Terminal
  -a, --address string             The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
  -c, --config string              Path to config file
      --insecure-ssl-skip-verify   If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
  -o, --output-format string       Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                    Provide additional output
Back to top