diff --git a/docs/formatsecret.html b/docs/formatsecret.html index 929eb86e542f053dab3c10b9b34632edaaed576b..5fd62227b704d2fbe180d174f8fa7d3eb3b3e191 100644 --- a/docs/formatsecret.html +++ b/docs/formatsecret.html @@ -152,17 +152,30 @@ An unique identifier for this secret (not necessarily in the UUID format). If omitted when defining a new secret, a random UUID is generated. -
volume
description
usage
type
attribute specifies the usage category, currently
+ only volume
is defined. Specific usage categories are
+ described below.
+ This secret is associated with a volume, and it is safe to delete the
+ secret after the volume is deleted. The <usage
+ type='volume'>
element must contain a
+ single volume
element that specifies the key of the volume
+ this secret is associated with.
+
<secret ephemeral='no' private='yes'> - <volume>/var/lib/libvirt/images/mail.img</volume> <description>LUKS passphrase for the main hard drive of our mail server</description> + <usage type='volume'> + <volume>/var/lib/libvirt/images/mail.img</volume> + </usage> </secret>diff --git a/docs/formatsecret.html.in b/docs/formatsecret.html.in index 7471bf72070f33008ff62bd834ec9b43986bacd5..72022cb6430c61fd1fe51864f7ff06cca902fa43 100644 --- a/docs/formatsecret.html.in +++ b/docs/formatsecret.html.in @@ -32,21 +32,36 @@ format). If omitted when defining a new secret, a random UUID is generated. -
volume
description
usage
type
attribute specifies the usage category, currently
+ only volume
is defined. Specific usage categories are
+ described below.
+
+ This secret is associated with a volume, and it is safe to delete the
+ secret after the volume is deleted. The <usage
+ type='volume'>
element must contain a
+ single volume
element that specifies the key of the volume
+ this secret is associated with.
+
<secret ephemeral='no' private='yes'> - <volume>/var/lib/libvirt/images/mail.img</volume> <description>LUKS passphrase for the main hard drive of our mail server</description> + <usage type='volume'> + <volume>/var/lib/libvirt/images/mail.img</volume> + </usage> </secret>