summaryrefslogtreecommitdiff
path: root/op-mode-definitions/crypt.xml.in
blob: 105592a1a1ab412c4e733e4d33181aea9ea68c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="encryption">
    <properties>
      <help>Manage config encryption</help>
    </properties>
    <children>
      <node name="disable">
        <properties>
          <help>Disable config encryption using TPM or recovery key</help>
        </properties>
        <command>sudo ${vyos_libexec_dir}/vyos-config-encrypt.py --disable</command>
      </node>
      <node name="enable">
        <properties>
          <help>Enable config encryption using TPM</help>
        </properties>
        <command>sudo ${vyos_libexec_dir}/vyos-config-encrypt.py --enable</command>
      </node>
      <node name="load">
        <properties>
          <help>Load encrypted config volume using TPM or recovery key</help>
        </properties>
        <command>sudo ${vyos_libexec_dir}/vyos-config-encrypt.py --load</command>
      </node>
    </children>
  </node>
</interfaceDefinition>