Last modified by Boris Folgmann on 2025/10/28 11:09

From version 7.3
edited by Martin Gurnik
on 2025/10/28 09:48
Change comment: There is no comment for this version
To version 8.2
edited by Boris Folgmann
on 2025/10/28 11:04
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.martingurnikt-systemscom
1 +xwiki:XWiki.borisfolgmannt-systemscom
Content
... ... @@ -4,14 +4,14 @@
4 4  
5 5  = How to Create an API Token in Rancher2 =
6 6  
7 -* If not done yet, set up a Technical User in the DevOps Portal for Rancher2 and assign it to the intended projects. Don't forget to record the password, you will not be able to see it later
8 -* Log in to Rancher2 with the credentials of the Technical User. Since you need a different browser session for that, it's recommended to open an anonymous window in your browser for that.
9 -* At the top right corner of the page, click on the icon ➡ and select Account & API Key
10 -* [[image:Screenshot 2025-10-28 at 10.41.31.png||height="226" width="466"]]
7 +1. If not done yet, set up a Technical User in the DevOps Portal for Rancher2 and assign it to the intended projects. Don't forget to record the password, you will not be able to see it later.
8 +1. Log in to Rancher2 with the credentials of the Technical User. Since you need a different browser session for that, it's recommended to open an anonymous window in your browser for that.
9 +1. At the top right corner of the page, click on the icon ➡ and select Account & API Key
11 11  
12 12  
13 13  
14 -* On the Account and API Keys page, click on "Create API Key"
13 +On the Account and API Keys page, click on "Create API Key"
14 +
15 15  * [[image:Screenshot 2025-10-28 at 10.41.42.png||height="432" width="752"]]
16 16  
17 17  
... ... @@ -27,4 +27,4 @@
27 27  * Copy and record the created token for the intended use, then click SAVE.
28 28  * [[image:Screenshot 2025-10-28 at 10.42.21.png||height="484" width="790"]]
29 29  * Note the details, because you will not be able to see them later
30 -* Now Basic HTTP Authentication can be used with the username and the generated API Token (see [[https:~~/~~/www.jenkins.io/doc/book/system-administration/authenticating-scripted-clients/>>url:https://www.jenkins.io/doc/book/system-administration/authenticating-scripted-clients/]])
30 +* see [[https:~~/~~/ranchermanager.docs.rancher.com/api/api-tokens>>https://ranchermanager.docs.rancher.com/api/api-tokens]] for usage