Hi everyone. I want to access harvester server thr...
# harvester
g
Hi everyone. I want to access harvester server through api token instead of username and password. How can I do that? Also is it possible to generate my harvester cluster kubeconfig from this api token?
m
similar to rancher, you can access the "account & api keys" page from the harvester ui and generate the api token there: https://ranchermanager.docs.rancher.com/reference-guides/user-settings/api-keys
as for using it in kubeconfig, i haven't tried it personally but you will have to find out (or create?) the backend service account that token is associated with, make sure it has the rbac you want it to have, and handcraft the kubeconfig yourself
or you can just download the kubeconfig from the harvester ui