Merge pull request #1704 from Felixnoo/update-credential-mgmt
Update Doc: Credential Management
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Credential Management"
|
||||
keywords: 'Kubernetes, docker, credential, KubeSphere, devops'
|
||||
keywords: 'Kubernetes, Docker, Credential, KubeSphere, DevOps'
|
||||
description: 'Create credentials so that your pipelines can communicate with third-party applications or websites.'
|
||||
linkTitle: "Credential Management"
|
||||
weight: 11230
|
||||
|
|
@ -12,7 +12,7 @@ A DevOps project user with necessary permissions can configure credentials for J
|
|||
|
||||
Currently, you can store the following 4 types of credentials in a DevOps project:
|
||||
|
||||

|
||||

|
||||
|
||||
- **Account Credentials**: Username and password which can be handled as separate components or as a colon-separated string in the format `username:password`, such as accounts of GitHub, GitLab, and Docker Hub.
|
||||
- **SSH**: Username with a private key, an SSH public/private key pair.
|
||||
|
|
@ -30,13 +30,13 @@ This tutorial demonstrates how to create and manage credentials in a DevOps proj
|
|||
|
||||
Log in to the console of KubeSphere as `project-regular`. Navigate to your DevOps project, choose **Credentials** and click **Create**.
|
||||
|
||||

|
||||

|
||||
|
||||
### Create Docker Hub credentials
|
||||
|
||||
1. In the dialog that appears, provide the following information.
|
||||
|
||||

|
||||

|
||||
|
||||
- **Credential ID**: Set an ID, such as `dockerhub-id`, which can be used in pipelines.
|
||||
- **Type**: Select **Account Credentials**.
|
||||
|
|
@ -68,17 +68,17 @@ A file that is used to configure access to clusters is called a kubeconfig file.
|
|||
|
||||
## View and Manage Credentials
|
||||
|
||||
1. Credentials created display in the list as below.
|
||||
1. Credentials created appear in the list as below.
|
||||
|
||||

|
||||

|
||||
|
||||
2. Click any of them to go to its detail page, where you can see account details and all the events related to the credentials.
|
||||
|
||||

|
||||

|
||||
|
||||
3. You can also edit or delete credentials on this page. Note that when you edit credentials, KubeSphere does not display the existing username or password information. The previous one will be overwritten if you enter a new username and password.
|
||||
|
||||

|
||||

|
||||
|
||||
## See Also
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ weight: 11230
|
|||
|
||||
目前,您可以在 DevOps 工程中存储以下 4 种类型的凭证:
|
||||
|
||||

|
||||

|
||||
|
||||
- **帐户凭证**:用户名和密码,可以作为单独的组件处理,或者作为用冒号分隔的字符串(格式为 `username:password`)处理,例如 GitHub、GitLab 和 Docker Hub 的帐户。
|
||||
- **SSH**:带有私钥的用户名,SSH 公钥/私钥对。
|
||||
|
|
@ -36,7 +36,7 @@ weight: 11230
|
|||
|
||||
1. 在弹出对话框中输入以下信息。
|
||||
|
||||

|
||||

|
||||
|
||||
- **凭证 ID**:设置可以在流水线中使用的 ID,例如 `dockerhub-id`。
|
||||
- **类型**:选择**帐户凭证**。
|
||||
|
|
@ -70,15 +70,15 @@ weight: 11230
|
|||
|
||||
1. 凭证创建后,会在列表中显示,如下所示。
|
||||
|
||||

|
||||

|
||||
|
||||
2. 点击任意一个凭证,进入其详情页面,您可以查看帐户详情和与此凭证相关的所有事件。
|
||||
|
||||

|
||||

|
||||
|
||||
3. 您也可以在此页面上编辑或删除凭证。请注意,编辑凭证时,KubeSphere 不会显示现有用户名或密码信息。如果输入新的用户名和密码,则前一个将被覆盖。
|
||||
|
||||

|
||||

|
||||
|
||||
## 另请参见
|
||||
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 188 KiB |
|
Before Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 193 KiB |
|
Before Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 461 KiB |
|
Before Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 170 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 175 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 454 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 524 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 179 KiB |