Methods
-
Class construct
-
all() : arrayList all trusted certificates on the server.
-
Add a new trusted certificate to the server.
-
Show information of a certificate.
-
Delete a trusted certificate - alias of remove.
-
Remove a trusted certificate.
Methods Details
-
public function __construct(array $config, variable $curl)Class construct
-
public function all()List all trusted certificates on the server.
$lxd->certificates->all();
-
public function add(string $certificate, string $password, string $name)Add a new trusted certificate to the server.
$lxd->certificates->add('./local-certificate-path.pem', 'lxd-server-secret', 'certificate-label');
-
public function info(string $fingerprint)Show information of a certificate.
$lxd->certificates->info('cerfiticate-fingerprint');
-
public function delete(string $fingerprint)Delete a trusted certificate - alias of remove.
$lxd->certificates->delete('cerfiticate-fingerprint');
-
public function remove(string $fingerprint)Remove a trusted certificate.
$lxd->certificates->remove('cerfiticate-fingerprint');