Implements virConnectAuthPtrDefault functionality from libvirt.c without the
external method support It's not officially a part of the libvirt API, but
provided here for completeness, testing, and as an example
If XML specifies a UUID, locates the specified secret and replaces all
attributes of the secret specified by UUID by attributes specified in xml
(any attributes not specified in xml are discarded).
Suspends this active domain, the process is frozen without further access
to CPU resources and I/O but the memory used by the domain at the
hypervisor level will stay allocated.