sysPass
sysPass copied to clipboard
Create an api access from cli for docker or deployment testing
Hi,
We work to release a new version of python to syspass library and ansible to syspass lookup. But we need to deploy fresh installation of syspass many time in the unit test, the docker install is a good solution but if the login / password was set there is no way to add api access by default by CLI, we need to go to WEBUI.
Other projects like netbox put a default api key by default in the sql structure and data, some other put a script we call with env variables to create an api access.
Do you think we can have a simple way to have an API for an CI/CD test?
Thanks