summaryrefslogtreecommitdiff
path: root/tests/secretxml2xmlin
diff options
context:
space:
mode:
authorJohn Ferlan <jferlan@redhat.com>2016-06-01 15:00:57 -0400
committerJohn Ferlan <jferlan@redhat.com>2016-07-01 15:45:41 -0400
commitc84380106fe69f86842dc7e8c032af6740bef77e (patch)
tree004f88756f9c2160534bd3ad4cb6c807429001a5 /tests/secretxml2xmlin
parent3977c386f608e5d533f5797132af104cedcc3f9d (diff)
downloadlibvirt-c84380106fe69f86842dc7e8c032af6740bef77e.tar.gz
conf: Add new secret type "passphrase"
Add a new secret type known as "passphrase" - it will handle adding the secret objects that need a passphrase without a specific username. The format is: <secret ...> <uuid>...</uuid> ... <usage type='passphrase'> <name>mumblyfratz</name> </usage> </secret> Signed-off-by: John Ferlan <jferlan@redhat.com>
Diffstat (limited to 'tests/secretxml2xmlin')
-rw-r--r--tests/secretxml2xmlin/usage-passphrase.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/secretxml2xmlin/usage-passphrase.xml b/tests/secretxml2xmlin/usage-passphrase.xml
new file mode 100644
index 0000000000..2b94b80400
--- /dev/null
+++ b/tests/secretxml2xmlin/usage-passphrase.xml
@@ -0,0 +1,7 @@
+<secret ephemeral='no' private='no'>
+ <uuid>f52a81b2-424e-490c-823d-6bd4235bc572</uuid>
+ <description>Sample Passphrase Secret</description>
+ <usage type='passphrase'>
+ <name>mumblyfratz</name>
+ </usage>
+</secret>