I am using the Hashicorp vault on the AWS EKS Fargate to store the data but the issue is every time I stop and restart the pods the data stored inside it are vanished and also the login tokens get changed every time. This may be because there is no persistent storage attached to the Hashicorp vault pod.
Please help me with:
- Which AWS Storage solution will be best for me (for production usage) and how can I attach that storage service to the existing AWS EKS Fargate pod so that the stored data on the Hashicorp vault pod is not lost even if the pod is terminated or replaced?
- And also how I can make the token for the Hashocorp vault static so that I have the same token every time even if the Hashicorp vault is terminated or replaced.