NAME
Sys::Async::Virt::Secret - Client side proxy to remote LibVirt secret
VERSION
v0.2.5
SYNOPSIS
DESCRIPTION
EVENTS
CONSTRUCTOR
new
METHODS
uuid
$uuid = $secret->uuid;
Returns a 16-byte string containing the (binary) UUID.
uuid_string
$str = $secret->uuid_string;
Returns the string representation of the UUID (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
usage_type
my $usage_type = $secret->usage_type;
Returns the usage type of the secret.
usage_id
my $usage_id = $secret->usage_id;
Returns the identifier of he object with which the secret is to be used.
get_value
$value = await $secret->get_value( $flags = 0 );
See documentation of virSecretGetValue.
get_xml_desc
$xml = await $secret->get_xml_desc( $flags = 0 );
See documentation of virSecretGetXMLDesc.
set_value
await $secret->set_value( $value, $flags = 0 );
# -> (* no data *)
See documentation of virSecretSetValue.
undefine
await $secret->undefine;
# -> (* no data *)
See documentation of virSecretUndefine.
INTERNAL METHODS
CONSTANTS
my $value = Sys::Async::Virt::Secret->EVENT_DEFINED;
# - or -
my $value = $secret->EVENT_DEFINED;
- EVENT_DEFINED
- EVENT_UNDEFINED
SEE ALSO
LICENSE AND COPYRIGHT
Copyright (C) 2024-2026 Erik Huelsmann
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.