How to initialise vault with Existing consul key

Hi
I have been using vault + consul in standalone and now moving it to k8s.

I want to use existing consul key and initialize vault, how can I do that?

When I tried to restore backup (taken from standalone consul) into new vault pods, all pods got sealed and not getting unsealed even with the unseal key.

Hi rdeb22,

Thanks for your question. It sounds like you’re using Shamir seal. Since the master key is written to storage encrypted with the Shamir key, after a restore the unseal key you’ll need will be the one used on the original cluster. Is that what you’re doing? If it is, then I’m not sure what’s not working. Could you post your config and the steps you ran?

Thanks,
Nick