Changes for page Creation of API Tokens for Technical Users
Last modified by Boris Folgmann on 2025/10/28 11:09
From version 9.1
edited by Boris Folgmann
on 2025/10/28 11:08
on 2025/10/28 11:08
Change comment:
There is no comment for this version
To version 6.2
edited by Martin Gurnik
on 2025/10/28 09:45
on 2025/10/28 09:45
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. borisfolgmannt-systemscom1 +xwiki:XWiki.martingurnikt-systemscom - Content
-
... ... @@ -4,20 +4,21 @@ 4 4 5 5 = How to Create an API Token in Rancher2 = 6 6 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. In 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"]] 11 -1. On the Account and API Keys page, click on "Create API Key" 12 -[[image:Screenshot 2025-10-28 at 10.41.42.png||height="432" width="752"]] 13 -1. Fill the description appropriately, set the Scope and Expiration and click on Create 14 -[[image:Screenshot 2025-10-28 at 10.42.10.png||height="377" width="752"]] 15 -1. ((( 16 -Copy and record the created token for the intended use, then click SAVE.[[image:Screenshot 2025-10-28 at 10.42.21.png||height="484" width="790"]] 17 -))) 18 -1. ((( 19 -Note the details, because you will not be able to see them later 20 -))) 21 -1. ((( 22 -See [[https:~~/~~/ranchermanager.docs.rancher.com/api/api-tokens>>https://ranchermanager.docs.rancher.com/api/api-tokens]] for usage 23 -))) 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 + 11 + [[image:Screenshot 2025-10-28 at 10.41.31.png||height="226" width="466"]] 12 + 13 +* On the Account and API Keys page, click on "Create API Key" 14 +* [[image:Screenshot 2025-10-28 at 10.41.42.png||height="432" width="752"]] 15 + 16 + 17 + 18 +* [[image:Screenshot 2025-10-28 at 10.42.10.png]] 19 +* Copy and record the created token for the intended use, then click SAVE. 20 + 21 +[[image:https://prd.sdc.t-systems.net/xwiki/wiki/devopsaas/download/Jenkins/Creation%20of%20API%20Tokens%20for%20Technical%20Users/WebHome/image2021-4-12_13-41-17.png?width=500&rev=1.1||alt="image2021-4-12_13-41-17.png" width="500"]] 22 + 23 +* Log out 24 +* 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/]])
- Screenshot 2025-10-28 at 10.42.21.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.martingurnikt-systemscom - Size
-
... ... @@ -1,1 +1,0 @@ 1 -182.3 KB - Content