mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: Add new secret type "tls"
Add a new secret usage type known as "tls" - it will handle adding the
secret objects for various TLS objects that need to provide some sort
of passphrase in order to access the credentials.
The format is:
<secret ephemeral='no' private='no'>
<description>Sample TLS secret</description>
<usage type='tls'>
<name>mumblyfratz</name>
</usage>
</secret>
Once defined and a passphrase set, future patches will allow the UUID
to be set in the qemu.conf file and thus used as a secret for various
TLS options such as a chardev serial TCP connection, a NBD client/server
connection, and migration.
Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
7
tests/secretxml2xmlin/usage-tls.xml
Normal file
7
tests/secretxml2xmlin/usage-tls.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<secret ephemeral='no' private='no'>
|
||||
<uuid>f52a81b2-424e-490c-823d-6bd4235bc572</uuid>
|
||||
<description>Sample TLS Secret</description>
|
||||
<usage type='tls'>
|
||||
<name>mumblyfratz</name>
|
||||
</usage>
|
||||
</secret>
|
||||
Reference in New Issue
Block a user