Ability to predefine server and agent tokens for automation.
I would like to setup stork server and register agents fully with automation (terraform to build machine and ansible for configuration).
Looking at https://gitlab.isc.org/isc-projects/stork/-/blob/master/etc/isc-stork-agent.postinst#L9 we can see that agents save the token (assuming a client specific or server wide token) to agent-token.txt in /var/lib/stork-agent/tokens. However this looks binary / encrypted and not text - great for security but was hoping to be able to pre define the server token when building out the server and then use this token with agent machines I deploy by dropping the content into the agent-token.txt file in the format needed.
It seems that currently to get the server wide token we need to start stork server, login and get the server token from the GUI. Making that accessible as a variable or configuration option would be super handy for automation.
Similarly whilst i can call ./stork-install-agent.sh on the agents and feed the data in having a way to automate this would be handy for client deploys.
Happy to provide more examples or PRs if pointed in right direction.