]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Add new secret type "tls"
authorJohn Ferlan <jferlan@redhat.com>
Thu, 14 Jul 2016 19:09:08 +0000 (15:09 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 9 Sep 2016 12:20:05 +0000 (08:20 -0400)
commit13350a17e4c6546d754b6c1214d4d18b4707e7c4
treece2b8c857acc89b202bee997786a460dbe74db7b
parent2c3223785c121eafbdd503f11549d7964461934f
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>
docs/aclpolkit.html.in
docs/formatsecret.html.in
docs/schemas/secret.rng
include/libvirt/libvirt-secret.h
src/access/viraccessdriverpolkit.c
src/conf/secret_conf.c
src/conf/secret_conf.h
src/conf/virsecretobj.c
tests/secretxml2xmlin/usage-tls.xml [new file with mode: 0644]
tests/secretxml2xmltest.c