summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-11-19 17:44:58 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2024-11-21 13:34:51 +0000
commit5c7647bcc242d4b26cd9afdde1f084ef93916727 (patch)
treef87fe803bce58e2245b7273cf95c8ffc69e6f734 /interface-definitions
parent8f76c96cb4d7132b7654aa5f37e8ab49fa2e137a (diff)
downloadvyos-1x-5c7647bcc242d4b26cd9afdde1f084ef93916727.tar.gz
vyos-1x-5c7647bcc242d4b26cd9afdde1f084ef93916727.zip
T264: IPsec add base64 encoded secret-type feature
Add the ability to configure base64 encoded passwords for VPN IPSec site-to-site peers authentication psk PSK secret 'xxxxx==' authentication psk PSK secret-type <base64|plaintext>
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/vpn_ipsec.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index d9d6fd93b..5540021e2 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -41,6 +41,18 @@
</valueHelp>
</properties>
</leafNode>
+ <leafNode name="secret-type">
+ <properties>
+ <help>Secret type</help>
+ <completionHelp>
+ <list>base64 plaintext</list>
+ </completionHelp>
+ <constraint>
+ <regex>(base64|plaintext)</regex>
+ </constraint>
+ </properties>
+ <defaultValue>plaintext</defaultValue>
+ </leafNode>
</children>
</tagNode>
</children>