关于 GitHub Connect
You can access additional features and workflows on your GitHub Enterprise Server instance by enabling GitHub Connect. 更多信息请参阅“关于 GitHub Connect”。
When you enable GitHub Connect, you configure a connection between your GitHub Enterprise Server instance and an organization or enterprise account on GitHub Enterprise Cloud. Enabling GitHub Connect creates a GitHub 应用程序 owned by the organization or enterprise account on GitHub Enterprise Cloud. GitHub Enterprise Server 使用 GitHub 应用程序 的凭据向 GitHub Enterprise Cloud 发送请求。
GitHub Enterprise Server 会存储来自 GitHub 应用程序 的凭据。 The following credentials will be replicated to all nodes in a high availability or cluster environment, and stored in any backups, including snapshots created by GitHub Enterprise Server 备份实用程序.
- 有效期为一小时的身份验证令牌
- 用于生成新的身份验证令牌的私钥
基本要求
To use GitHub Connect, you must have an organization or enterprise account on GitHub.com that uses GitHub Enterprise Cloud. You may already have GitHub Enterprise Cloud included in your plan. For more information about how you can try GitHub Enterprise Cloud for free, see "Setting up a trial of GitHub Enterprise Cloud."
To configure a connection, your proxy configuration must allow connectivity to github.com
, api.github.com
, and uploads.github.com
. 更多信息请参阅“配置出站 Web 代理服务器”。
启用 GitHub Connect
Enterprise owners who are also owners of an organization or enterprise account that uses GitHub Enterprise Cloud can enable GitHub Connect.
If you're connecting your GitHub Enterprise Server instance to an organization on GitHub Enterprise Cloud that is not owned by an enterprise account, you must sign into GitHub.com as an organization owner.
If you're connecting your GitHub Enterprise Server instance to an organization on GitHub Enterprise Cloud that is owned by an enterprise account or to an enterprise account itself, you must sign into GitHub.com as an enterprise owner.
- 登录到 your GitHub Enterprise Server instance 和 GitHub.com。
- 在 GitHub Enterprise Server 的右上角,单击您的个人资料照片,然后单击 Enterprise settings(Enterprise 设置)。
- 在企业帐户侧边� �中,单击 Settings(设置)。
- 在左侧边� �中,单击 GitHub Connect。
- 在“GitHub Connect is not enabled yet”下,单击 Enable GitHub Connect。 By clicking Enable GitHub Connect, you agree to the "GitHub Terms for Additional Products and Features."
- 在要连接的企业帐户或组织旁,单击 Connect。
禁用 GitHub Connect
Enterprise owners can disable GitHub Connect.
与 GitHub Enterprise Cloud 断开连接后,GitHub Connect GitHub 应用程序 会从企业帐户或组织中� 除,your GitHub Enterprise Server instance 上存储的凭据也会� 除。
-
在 GitHub Enterprise Server 的右上角,单击您的个人资料照片,然后单击 Enterprise settings(Enterprise 设置)。
-
在企业帐户侧边� �中,单击 Settings(设置)。
-
在左侧边� �中,单击 GitHub Connect。
-
在要断开连接的企业帐户或组织旁,单击 Disable GitHub Connect。
-
阅读有关断开连接的信息,并单击 Disable GitHub Connect。