Skip to content

rspm edit ssh-key#

Commands to edit SSH keys

rspm edit ssh-key [flags]

Examples#

  rspm edit ssh-key --name=[key name] --path=[/path/to/key]
  rspm edit ssh-key --name=[key name] --path=[/path/to/key] --passphrase-path=[/path/to/file]

Options#

  -h, --help                     help for ssh-key
      --name string              The name of the SSH key used in PPM git builder jobs.
      --passphrase-path string   Optional. The path to a file containing the SSH key passphrase. The text in this file may be in plaintext, or it may be encrypted text from the 'rspm encrypt' command.
      --path string              The path to the SSH key file

Options inherited from parent commands#

  -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