Configuring a Deploy Key for a Repository
Constraints
- Multiple repositories can use the same deploy key, and a maximum of 10 deploy keys can be added to a repository.
- The difference between an SSH key and repository deploy key is that the former is associated with a user and PC and the latter is associated with a code repository. The SSH key has the read and write permissions on the repository, and the deploy key has the read-only permission on the repository.
- The settings take effect only for the repository configured.
Configure a Deploy Key
For security purposes, some repositories can only be cloned and downloaded and do not support other change operations such as merge code. You can configure a deploy key for a read-only repository.
To generate a deploy key locally, choose Settings > Security Management > Deploy Key on the repository details page. On the Deploy Key page, click Add Deploy Key. For details about how to generate an SSH key locally, see step 1 to step 3 in Configuring an SSH Key.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot