I have looked at the Multi-user and Http API examples and I feel passing username and password via CLI or elsewhere is a bit old school (and insecure), could we have API tokens that can be scoped.
By default, the API token can do everything, but it can also be narrowed down to only certain type of calls by Method type or specific to certain API end points, etc… The later specialisation maybe could be handled inside the app by the developer.
But main question is how do we make Anvil generate API tokens instead of username and password.