mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
6157b0e197
commit
6c6840e928
2 changed files with 27 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue