diff options
author | Christian Breunig <christian@breunig.cc> | 2024-02-10 12:07:55 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-02-10 12:07:55 +0100 |
commit | d4278cde2b153e163fe41e1bc461891397336bc3 (patch) | |
tree | b36f8bee366549a009f54b19563b6a2a7dcdbe9a /interface-definitions/include/pki/cli-public-key-base64.xml.i | |
parent | ffca244d5c38655ce915cee373e3d6f6c9292954 (diff) | |
download | vyos-1x-d4278cde2b153e163fe41e1bc461891397336bc3.tar.gz vyos-1x-d4278cde2b153e163fe41e1bc461891397336bc3.zip |
xml: T5738: improve PKI building blocks for CLI
Diffstat (limited to 'interface-definitions/include/pki/cli-public-key-base64.xml.i')
-rw-r--r-- | interface-definitions/include/pki/cli-public-key-base64.xml.i | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/interface-definitions/include/pki/cli-public-key-base64.xml.i b/interface-definitions/include/pki/cli-public-key-base64.xml.i new file mode 100644 index 000000000..3a7ee0ce9 --- /dev/null +++ b/interface-definitions/include/pki/cli-public-key-base64.xml.i @@ -0,0 +1,11 @@ +<!-- include start from pki/pki-cli-private-key.xml.i --> +<leafNode name="key"> + <properties> + <help>Private key in PEM format</help> + <constraint> + <validator name="base64"/> + </constraint> + <constraintErrorMessage>Private key is not base64-encoded</constraintErrorMessage> + </properties> +</leafNode> +<!-- include end --> |