If some software follows gNMI/gNOI spec to implement certain services ( eg: certificate management ), it would not be needed to add username based authentication to this service as authentication would be ensured in various other methods.
In such case, it becomes cumbersome to use "gnmic" as it always prompts for username and password.
It would be nicer to make username/password prompt as optional or introduce a flag with which there should not be any need to username and password.
If some software follows gNMI/gNOI spec to implement certain services ( eg: certificate management ), it would not be needed to add username based authentication to this service as authentication would be ensured in various other methods.
In such case, it becomes cumbersome to use "gnmic" as it always prompts for username and password.
It would be nicer to make username/password prompt as optional or introduce a flag with which there should not be any need to username and password.