mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-08 20:18:11 -05:00
virsh: add support for '--validate' option in define secret
Signed-off-by: Kristina Hanicova <khanicov@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
committed by
Ján Tomko
parent
5cb3d4ed6d
commit
ec5561c0bb
@@ -6698,13 +6698,15 @@ secret-define
|
||||
|
||||
::
|
||||
|
||||
secret-define file
|
||||
secret-define file [--validate]
|
||||
|
||||
Create a secret with the properties specified in *file*, with no associated
|
||||
secret value. If *file* does not specify a UUID, choose one automatically.
|
||||
If *file* specifies a UUID of an existing secret, replace its properties by
|
||||
properties defined in *file*, without affecting the secret value.
|
||||
|
||||
Optionally, the format of the input XML file can be validated against an
|
||||
internal RNG schema with *--validate*.
|
||||
|
||||
secret-dumpxml
|
||||
--------------
|
||||
|
||||
Reference in New Issue
Block a user