User Authentication

How can I use two different user authentication methods in a yaml file? I searched for some examples but couldn’t find any in the official documentation or other resources.

Which auth methods do you want to use?

client certificate and webhook token authentication. Or it can be any two user authentication methods.

Client certificate is enabled by default and I do not think can be disabled, otherwise kubelet and other controllers would not work. You can use both cert and webhook at the same time.

Thank you. Do you have some examples where cert and webhook are used at the same time ?

Just configure the webhook part Authenticating | Kubernetes. Cert will remain by default.