summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-08-10 21:09:13 +0200
committerChristian Breunig <christian@breunig.cc>2026-08-10 21:09:13 +0200
commit3c994aa0560fe91de04b4e47eb2a2913569ea35c (patch)
treeff3d37961c78a418ffbbe226f9c99bbd47572885
parent7fdc8ce619bcf02dc07a90bca37cc47882f89606 (diff)
downloadvyos-1x-3c994aa0560fe91de04b4e47eb2a2913569ea35c.tar.gz
vyos-1x-3c994aa0560fe91de04b4e47eb2a2913569ea35c.zip
op-mode: T9135: add CLI tab-completion for existing CA/certificate names
"import pki ca <name>" and "import pki certificate <name>" only ever offered a literal "<name>" hint, never the names of CAs/certificates already present in the running configuration - useful when re-importing an updated certificate under its existing name, not just when adding a brand new one.
-rw-r--r--op-mode-definitions/pki.xml.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/op-mode-definitions/pki.xml.in b/op-mode-definitions/pki.xml.in
index 9c8186151..b468d06a8 100644
--- a/op-mode-definitions/pki.xml.in
+++ b/op-mode-definitions/pki.xml.in
@@ -364,6 +364,7 @@
<help>Import CA certificate into PKI</help>
<completionHelp>
<list>&lt;name&gt;</list>
+ <path>pki ca</path>
</completionHelp>
</properties>
<children>
@@ -386,6 +387,7 @@
<help>Import certificate into PKI</help>
<completionHelp>
<list>&lt;name&gt;</list>
+ <path>pki certificate</path>
</completionHelp>
</properties>
<children>