Is it possible to use cluster-scoped Rancher API tokens with the Rancher CLI or Terraform provider?
This document (000021440) is provided subject to the disclaimer at the end of this document.
Environment
- A Rancher cluster, where you have created a cluster-scoped API token, as explained here.
- Use of the cluster-scoped token to interact with Rancher using the Rancher CLI or Terraform provider.
Situation
FATA[0000] Bad response statusCode [401]. Status [401 Unauthorized]. Body: [message=Unauthorized 401: must authenticate] from [https://<RANCHER-URL>/v3
Resolution
Cause
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021440
- Creation Date: 22-Apr-2024
- Modified Date:09-Apr-2025
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com