diff options
author | khramshinr <khramshinr@gmail.com> | 2024-05-29 19:46:20 +0600 |
---|---|---|
committer | khramshinr <khramshinr@gmail.com> | 2024-06-24 20:16:31 +0600 |
commit | f6131611e15a644312e3c4baf5b8f6387c2930e7 (patch) | |
tree | b7b710ca5c9f5f44838f4f4b5b25ed97f70fa1b6 /interface-definitions/include/stunnel/psk.xml.i | |
parent | c90a55375f6b60ba0d0d545b33927a2aae4d6aad (diff) | |
download | vyos-1x-f6131611e15a644312e3c4baf5b8f6387c2930e7.tar.gz vyos-1x-f6131611e15a644312e3c4baf5b8f6387c2930e7.zip |
T5735: Stunnel CLI and configuration
Add CLI commands
Add config
Add conf_mode
Add systemd config
Add stunnel smoketests
Add log level config
Diffstat (limited to 'interface-definitions/include/stunnel/psk.xml.i')
-rw-r--r-- | interface-definitions/include/stunnel/psk.xml.i | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/interface-definitions/include/stunnel/psk.xml.i b/interface-definitions/include/stunnel/psk.xml.i new file mode 100644 index 000000000..db11a93d3 --- /dev/null +++ b/interface-definitions/include/stunnel/psk.xml.i @@ -0,0 +1,30 @@ +<!-- include start from stunnel/psk.xml.i --> +<tagNode name="psk"> + <properties> + <help>Pre-shared key name</help> + </properties> + <children> + <leafNode name="id"> + <properties> + <help>ID for authentication</help> + <valueHelp> + <format>txt</format> + <description>ID used for authentication</description> + </valueHelp> + </properties> + </leafNode> + <leafNode name="secret"> + <properties> + <help>pre-shared secret key</help> + <valueHelp> + <format>txt</format> + <description>pre-shared secret key are required to be at least 16 bytes long, which implies at least 32 characters for hexadecimal key</description> + </valueHelp> + <constraint> + <validator name="psk-secret"/> + </constraint> + </properties> + </leafNode> + </children> +</tagNode> +<!-- include end --> |