From c9eaafd9f808aba8d29be73054e11d37577e539a Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 30 Dec 2023 23:25:20 +0100 Subject: T5474: establish common file name pattern for XML conf mode commands We will use _ as CLI level divider. The XML definition filename and also the Python helper should match the CLI node. Example: set interfaces ethernet -> interfaces_ethernet.xml.in set interfaces bond -> interfaces_bond.xml.in set service dhcp-server -> service_dhcp-server-xml.in (cherry picked from commit 4ef110fd2c501b718344c72d495ad7e16d2bd465) --- interface-definitions/service_https.xml.in | 220 +++++++++++++++++++++++++++++ 1 file changed, 220 insertions(+) create mode 100644 interface-definitions/service_https.xml.in (limited to 'interface-definitions/service_https.xml.in') diff --git a/interface-definitions/service_https.xml.in b/interface-definitions/service_https.xml.in new file mode 100644 index 000000000..223f10962 --- /dev/null +++ b/interface-definitions/service_https.xml.in @@ -0,0 +1,220 @@ + + + + + + + HTTPS configuration + 1001 + + + + + Identifier for virtual host + + [a-zA-Z0-9-_.:]{1,255} + + illegal characters in identifier or identifier longer than 255 characters + + + + + Address to listen for HTTPS requests + + + + + ipv4 + HTTPS IPv4 address + + + ipv6 + HTTPS IPv6 address + + + '*' + any + + + + \* + + + + #include + + 443 + + + + Server names: exact, wildcard, or regex + + + + #include + + + + + VyOS HTTP API configuration + + + + + HTTP API keys + + + + + HTTP API id + + + + + HTTP API plaintext key + + + + + + + + + Enforce strict path checking + + + + + + Debug + + + + + + + GraphQL support + + + + + Schema introspection + + + + + + GraphQL authentication + + + + + Authentication type + + key token + + + key + Use API keys + + + token + Use JWT token + + + (key|token) + + + key + + + + Token time to expire in seconds + + u32:60-31536000 + Token lifetime in seconds + + + + + + 3600 + + + + Length of shared secret in bytes + + u32:16-65535 + Byte length of generated shared secret + + + + + + 32 + + + + + + + + Set CORS options + + + + + Allow resource request from origin + + + + + + + + + + Restrict api proxy to subset of virtual hosts + + + + + Restrict proxy to virtual host(s) + + + + + + + + TLS certificates + + + #include + #include + + + Request or apply a letsencrypt certificate for domain-name + + + + + Domain name(s) for which to obtain certificate + + + + + + Email address to associate with certificate + + + + + + + #include + + + + + -- cgit v1.2.3