mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virsh: secret: Add --plain switch for secret-set-value
Allow using the contents of --file without base64 decoding. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -6563,11 +6563,12 @@ secret-set-value
|
||||
|
||||
.. code-block::
|
||||
|
||||
secret-set-value secret (--file filename | base64)
|
||||
secret-set-value secret (--file filename [--plain] | base64)
|
||||
|
||||
Set the value associated with *secret* (specified by its UUID) to the value
|
||||
Base64-encoded value *base64* or Base-64-encoded contents of file named
|
||||
*filename*.
|
||||
*filename*. Using the *--plain* flag is together with *--file* allows to use
|
||||
the file contents directly as the secret value.
|
||||
|
||||
Note that *--file* and *base64* options are mutually exclusive.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user