Open teon opened 1 year ago
@kchudy also I think that should not be in the gateway itself - I think we should start to do a command line client (just: defguard)
Meaning we should not mix server and client binaries/tools. Gateway is a sever, we need a client then that is shipped with the server.
The client should have the following commands (priority of implementation):
We should have the possibility to bulk import users in a described/defined format/file type. Idealy would be to support two fille (predefined) formats: JSON & CSV.
Since we will handle bulk user creation, should be easy to do one-off just to add one user.
disable-user [login]
change-password [login[
ssh-auth [user/group?]
Now we are showing examples of how to interact with DG API through curl & bash, but we should have this done in our client.
[location] is optional - if not set - show all locations.
Command will show all connections / peers in human readable way - the same way as "wg-quick" connection/peer status, but in human-readable way - so that the peers would have names like: John Wick - MacBook (and not public keys)
The question remains - how we should configure access for the client - maybe a dedicated functionality in DG for Tokens/oauth?