Home / Platform management / DevOps toolchain / Tool Integration / Create a secret

Create a secret

Credentials can store sensitive information such as passwords, tokens, SSH keys, etc., making the stored data more secure, flexible, and free from exposure in images or Pod specs.

You can use the created credentials to bind with DevOps toolchains in your project, and directly use the DevOps toolchains for development iterations during the project development process, without worrying about account passwords and other issues.

Create a Secret to store sensitive information such as passwords, tokens, SSH keys, and other DevOps tools’ credentials. The platform will then access the tools based on the permissions associated with the Secret. For example, if a Secret that used to integrate a tool can only be used to access project A in GitLab, then after A is allocated to platform project A’, project members can only manage code and create pipelines in DevOps for project A in GitLab.

Procedure

  1. In the left navigation bar, click DevOps Toolchain > Secrets.

  2. Click Create Secret.

  3. In the Basic info section, configure the relevant parameters according to the following instructions:

    Parameter Note
    Tool Type The type of tool that will use this Secret. If selected, you can:
    • Provide the authentication information that is specific to this type of tool according to the prompts.
    • The tool icon will be displayed to help you find your Secret more easily. Otherwise, the default icon will be shown as .
  4. In the Data section, fill in the credential information. Secret details can be found in Secrets for DevOps tools .

  5. Click Create.

Related Operations

Caution: Updating data or deleting credentials may affect tool access. Ensure that the updated content can still access the tool project normally, or that the tool project corresponding to the deleted credential is no longer needed.