gnmic icon indicating copy to clipboard operation
gnmic copied to clipboard

don't require username when certificate based authentication is used

Open ghost opened this issue 1 year ago • 1 comments

Some servers can extract usernames from certificates. This may be as simple as extracting the common name but here is also the SPIFFE-ID which was made specifically for this purpose.

Enforcing that the user provides a username through metadata when using certificate based authentication leaves it up to the server to decide which one it should use, with some servers returning an error due to this ambiguous behaviour.

ghost avatar Aug 25 '22 08:08 ghost

Agree, it makes sense to not require a username/password when running a command.

karimra avatar Aug 25 '22 22:08 karimra