Listing namespaces causes exception, if none are present #928
Labels
enhancement
a new feature or addition
system backend
generally related to the Vault system backend routes
When listing namespaces the API throws an exception if no namespaces are found.
Example Code:
yields:
The API works as intended as long as namespaces are found, the error only occurs when the API yields a 404.
When looking into the Vault CLI / UI they simply show an empty list / nothing.
Maybe hvac could return either
None
or[]
in case of non-existing namespaces?The text was updated successfully, but these errors were encountered: