diff options
author | Daniel P. Berrangé | 2021-03-11 12:43:41 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2021-03-15 17:36:20 +0100 |
commit | 6c6840e9281cf2fd3b29d77f45b18949d4a83944 (patch) | |
tree | 259d5ad2e62eb3d79d263772af126dd9ba299f52 /qemu-options.hx | |
parent | Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.0-pull-re... (diff) | |
download | qemu-6c6840e9281cf2fd3b29d77f45b18949d4a83944.tar.gz qemu-6c6840e9281cf2fd3b29d77f45b18949d4a83944.tar.xz qemu-6c6840e9281cf2fd3b29d77f45b18949d4a83944.zip |
ui: introduce "password-secret" option for VNC servers
Currently when using VNC the "password" flag turns on password based
authentication. The actual password has to be provided separately via
the monitor.
This introduces a "password-secret" option which lets the password be
provided up front.
$QEMU --object secret,id=vncsec0,file=passwd.txt \
--vnc localhost:0,password-secret=vncsec0
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20210311114343.439820-2-berrange@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index 622d3bfa5a..357fc4596e 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2165,6 +2165,11 @@ SRST time to allow <protocol> password to expire immediately or never expire. + ``password-secret=<secret-id>`` + Require that password based authentication is used for client + connections, using the password provided by the ``secret`` + object identified by ``secret-id``. + ``tls-creds=ID`` Provides the ID of a set of TLS credentials to use to secure the VNC server. They will apply to both the normal VNC server socket |