https://rancher.com/ logo
b

better-accountant-38670

09/26/2022, 1:33 PM
Good morning. When attempting to connect to a v2.5.8 Rancher cluster using Rancher CLI, like this:
Copy code
rancher login https://<fqdn> --token <token>
I am getting this message:
Copy code
FATA[0000] Bad response statusCode [401]. Status [401 Unauthorized]. Body: [message=Unauthorized 401: must authenticate] from [https://<FQDN>/v3]
Is there something different I need to be doing? Or, is there a way to use a KUBECONFIG file to authenticate (like we do when using kubectl or helm)?
6 Views