Is it possible to link/add multiply k8s SAs to the same auth kubernetes method?

Hi ,

I’m wondering whether it possible to add multiply kubernetres service accounts to the same auth kubernetes method ? I’m using the following guide to add k8s SA.

If I add new SA to the same auth method the ca and jwt of previous sa are being overwritten.


No, this is not possible in Vault, but you can enable the K8S auth method at two different paths, for example, auth/kubernetes and auth/kubernetes1, those two different paths can use different SAs for authenticating to the K8S API.