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
Log on to the EDAS console.
In the left-side navigation pane, choose Application Management > Applications.
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.
Click Create Application.
In the Basic Information step, set Cluster Type to Kubernetes Clusters, select PHP in the Application Runtime Environment section, and then click Next.
In the Configurations step, set Authentication Method to SSH Key.
Click One-click Copy next to SSH Public Key to copy the key to your clipboard.

Add the deploy key to your code repository
Log on to the Alibaba Cloud Codeup console and open the target code repository.
In the left-side navigation pane, click Settings.
In the left-side navigation pane of the Settings page, click Deploy Key.
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.In the Create Key dialog box, configure the following fields:
Field Description Title A descriptive name for the key, such as EDAS-deploy-keyor the application name. Use a name that identifies the key's purpose for future management.Key Paste the SSH public key copied from the EDAS console. 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:
Go to the Deploy Key page in your repository settings.
Find the target key and click Delete in the Actions column.
Follow the on-screen instructions to confirm.