--- title: Deploy keys intro: Use the REST API to create and manage deploy keys. versions: fpt: '*' ghes: '*' ghae: '*' ghec: '*' topics: - API miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true redirect_from: - /rest/reference/deploy_keys --- ## About deploy keys {% data reusables.repositories.deploy-keys %} Deploy keys can either be setup using the following API endpoints, or by using GitHub. To learn how to set deploy keys up in GitHub, see "[Managing deploy keys](/developers/overview/managing-deploy-keys)."