Kubernetes config using Vault or datasource for kubernetes/helm and kubectl provider


I am trying to use the following below providers. Which works saving the kubeconfig file locally and providing a path to the providers.

How can i use vault for reading the file for the above providers in terraform ? or how are everyone else doing in a CI/CD scenario with Jenkins and Terraform for the above providers ?