netbox-php/src/Api/Secrets/KeyGen.php

16 lines
318 B
PHP
Raw Normal View History

2021-03-12 17:20:32 -04:00
<?php
namespace wickedsoft\NetBox\Api\Secrets;
2021-03-12 17:20:32 -04:00
class KeyGen extends AbstractApi
2021-03-12 17:20:32 -04:00
{
/**
* @param $params
* @return mixed
* @throws \GuzzleHttp\Exception\GuzzleException
*/
public function list($params=[])
{
return $this->get("/secrets/generate-rsa-key-pair/", $params);
2021-03-12 17:20:32 -04:00
}
}