Page MenuHomeVyOS Platform

PKI: add "import" keyword when in "configure" mode
Open, WishlistPublicFEATURE REQUEST

Description

Files needing a change:

  • /opt/vyatta/share/vyatta-cfg/functions/interpreter/vyatta-cfg-run
  • /etc/bash_completion.d/vyatta-cfg
[email protected]#
Possible completions:
  confirm       Confirm prior commit-confirm
  comment       Add comment to this configuration element
  commit        Commit the current set of changes
  commit-confirm
                Commit the current set of changes with 'confirm' required
  compare       Compare configuration revisions
  copy          Copy a configuration element
  delete        Delete a configuration element
  discard       Discard uncommitted changes
  edit          Edit a sub-element
  exit          Exit from this configuration level
  load          Load configuration from a file and replace running configuration
  loadkey       Load user SSH key from a file
  merge         Load configuration from a file and merge running configuration
  rename        Rename a configuration element
  rollback      Rollback to a prior config revision (requires reboot)
  run           Run an operational-mode command
  save          Save configuration to a file
  set           Set the value of a parameter or create a new element
  show          Show the configuration (default values may be suppressed)

So this should be extended with an import statement for: import pki ca <name> which will read a PEM file and converts and stores it in the current CLI session so it can be commit afterwards

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)