Missing vault root token in the vault pod itself

Hi, I have two vaults deployed. I am running some initial vault setup and configuration by doing kubectl exec -it vault-0 -- ... It worked fine and it still works on the newer vault but it stoped working on the older one.

The only difference between pods I can find is .vault-token file missing in one not working anymore.

I wonder is it somehow expired? From my understanding root token including the token inside of vault pod itself should not expire at all. Is the token used by vault pod any different? Where can I find it? Where is it generated.

When I try to run any vault command like I used to I am getting:
`Error enabling kubernetes auth: Error making API request.
Code: 400. Errors:

  • missing client token`

You can generate new token if you have recovery or unseal keys.