This file is indexed.

/usr/share/libvirt/schemas/secret.rng is in libvirt-daemon 4.0.0-1ubuntu8.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?xml version="1.0"?>
<!-- A Relax NG schema for the libvirt secret properties XML format -->
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
  <start>
    <ref name='secret'/>
  </start>

  <include href='basictypes.rng'/>

  <define name='secret'>
    <element name='secret'>
      <optional>
        <attribute name='ephemeral'>
          <ref name="virYesNo"/>
        </attribute>
      </optional>
      <optional>
        <attribute name='private'>
          <ref name="virYesNo"/>
        </attribute>
      </optional>
      <interleave>
        <optional>
          <element name='uuid'>
            <ref name='UUID'/>
          </element>
        </optional>
        <optional>
          <element name='description'>
            <text/>
          </element>
        </optional>
        <optional>
          <element name='usage'>
            <choice>
              <ref name='usagevolume'/>
              <ref name='usageceph'/>
              <ref name='usageiscsi'/>
              <ref name='usagetls'/>
              <!-- More choices later -->
            </choice>
          </element>
        </optional>
      </interleave>
    </element>
  </define>

  <define name='usagevolume'>
    <attribute name='type'>
      <value>volume</value>
    </attribute>
    <element name='volume'>
      <ref name='absFilePath'/>
    </element>
  </define>

  <define name='usageceph'>
    <attribute name='type'>
      <value>ceph</value>
    </attribute>
    <element name='name'>
      <ref name='genericName'/>
    </element>
  </define>

  <define name='usageiscsi'>
    <attribute name='type'>
      <value>iscsi</value>
    </attribute>
    <element name='target'>
      <ref name='genericName'/>
    </element>
  </define>

  <define name='usagetls'>
    <attribute name='type'>
      <value>tls</value>
    </attribute>
    <element name='name'>
      <ref name='genericName'/>
    </element>
  </define>

</grammar>