summaryrefslogtreecommitdiff
path: root/interface-definitions/include/stunnel
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-18 19:37:22 +0100
committerGitHub <noreply@github.com>2024-12-18 19:37:22 +0100
commitfdb9ce311ae485bcdaa59c5653c631df7efd3e29 (patch)
tree05c1684c9c1e000ed7255c519fa2f434e3a81e7d /interface-definitions/include/stunnel
parent11e89b1a1295b21d8c3b3e3d556ecb00506856ab (diff)
parent73b9eba81999744ba0adf4c252ccdb2bd0bd2a19 (diff)
downloadvyos-1x-fdb9ce311ae485bcdaa59c5653c631df7efd3e29.tar.gz
vyos-1x-fdb9ce311ae485bcdaa59c5653c631df7efd3e29.zip
Merge pull request #4233 from HollyGurza/T6934
T6934: Add preshared key for zabbix-agent monitoring service
Diffstat (limited to 'interface-definitions/include/stunnel')
-rw-r--r--interface-definitions/include/stunnel/psk.xml.i23
1 files changed, 2 insertions, 21 deletions
diff --git a/interface-definitions/include/stunnel/psk.xml.i b/interface-definitions/include/stunnel/psk.xml.i
index db11a93d3..a8226c866 100644
--- a/interface-definitions/include/stunnel/psk.xml.i
+++ b/interface-definitions/include/stunnel/psk.xml.i
@@ -4,27 +4,8 @@
<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>
+ #include <include/auth-psk-id.xml.i>
+ #include <include/auth-psk-secret.xml.i>
</children>
</tagNode>
<!-- include end -->