In the BaseClient.php the list method uses LIST as the HTTP Method.
In the Hashicorp Vault documentation all the list endpoints use a standard GET HTTP method. So I get an Error when sending the call.
It just needs to change from this:
/**
* @param string $path
*
* @return Response
* @throws InvalidArgumentException
* @throws ClientExceptionInterface
*/
public function list(string $path = ''): Response
{
return $this->responseBuilder->build($this->send('LIST', $path));
}
To this:
/**
* @param string $path
*
* @return Response
* @throws InvalidArgumentException
* @throws ClientExceptionInterface
*/
public function list(string $path = ''): Response
{
return $this->responseBuilder->build($this->send('GET', $path));
}
Should be not a big deal. :)
In the
BaseClient.phpthe list method usesLISTas the HTTP Method.In the Hashicorp Vault documentation all the list endpoints use a standard
GETHTTP method. So I get an Error when sending the call.It just needs to change from this:
To this:
Should be not a big deal. :)