All Products
Search
Document Center

Enterprise Distributed Application Service:Configure an SSH public key for source code deployment

Last Updated:Mar 10, 2026

When you deploy an application on Enterprise Distributed Application Service (EDAS) from a Git-based code repository that requires SSH authentication, you must configure the SSH public key provided by EDAS in the code repository.

The following steps use Alibaba Cloud Codeup as an example.

Prerequisites

Before you begin, make sure you have:

  • An Alibaba Cloud account with EDAS activated

  • A Git-based code repository with SSH access enabled

  • Permissions to manage deploy keys in the code repository

Copy the SSH public key from EDAS

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Applications.

  3. In the top navigation bar, select the region. In the upper part of the page, select the microservices namespace from the Microservice Namespace drop-down list.

  4. Click Create Application.

  5. In the Basic Information step, set Cluster Type to Kubernetes Clusters, select PHP in the Application Runtime Environment section, and then click Next.

  6. In the Configurations step, set Authentication Method to SSH Key.

  7. Click One-click Copy next to SSH Public Key to copy the key to your clipboard.

    Copy the SSH public key provided by EDAS

Add the deploy key to your code repository

  1. Log on to the Alibaba Cloud Codeup console and open the target code repository.

  2. In the left-side navigation pane, click Settings.

  3. In the left-side navigation pane of the Settings page, click Deploy Key.

  4. Click Create Key in the upper-right corner.

    Note Deploy keys only take effect after the IP address whitelist is configured. If the whitelist is not enabled, enable it on the IP Whitelist page.
  5. In the Create Key dialog box, configure the following fields:

    FieldDescription
    TitleA descriptive name for the key, such as EDAS-deploy-key or the application name. Use a name that identifies the key's purpose for future management.
    KeyPaste the SSH public key copied from the EDAS console.
  6. Click Create Key.

After the key is created, it appears on the Deploy Key page.

Delete a deploy key

To remove a deploy key that is no longer needed:

  1. Go to the Deploy Key page in your repository settings.

  2. Find the target key and click Delete in the Actions column.

  3. Follow the on-screen instructions to confirm.