This guide will walk you through setting up, configuring and managing your GitHub Enterprise Cloud account as an organization or enterprise owner.
GitHub provides two types of Enterprise products:
- GitHub Enterprise Cloud
- GitHub Enterprise Server
The main difference between the products is that GitHub Enterprise Cloud is hosted by GitHub, while GitHub Enterprise Server is self-hosted.
With GitHub Enterprise Cloud, you have the option of using 企业托管用户. 企业托管用户 is a feature of GitHub Enterprise Cloud that provides even greater control over enterprise members and resources. With 企业托管用户, all members are provisioned and managed through your identity provider (IdP) instead of users creating their own accounts on GitHub Enterprise Cloud. Team membership can be managed using groups on your IdP. 托管用户 are restricted to their enterprise and are unable to push code, collaborate, or interact with users, repositories, and organizations outside of their enterprise. For more information, see "About 企业托管用户."
If you choose to let your members create and manage their own personal accounts instead, there are two types of accounts you can use with GitHub Enterprise Cloud:
- A single organization account
- An enterprise account that contains multiple organizations
Both organization and enterprise accounts are available with GitHub Enterprise Cloud. An organization is a shared account where groups of people can collaborate across many projects at once, and owners and administrators can manage access to data and projects. An enterprise account enables collaboration between multiple organizations, and allows owners to centrally manage policy, billing and security for these organizations. For more information on the differences, see "Organizations and enterprise accounts."
If you choose an enterprise account, keep in mind that some policies can be set only at an organization level, while others can be enforced for all organizations in an enterprise.
Once you choose the account type you would like, you can proceed to setting up your account. In each of the sections in this guide, proceed to either the single organization or enterprise account section based on your account type.
To get started with GitHub Enterprise Cloud, you will want to create your organization or enterprise account and set up and view billing settings, subscriptions and usage.
Organizations are shared accounts where groups of people can collaborate across many projects at once. With GitHub Enterprise Cloud, owners and administrators can manage their organization with sophisticated user authentication and management, as well as escalated support and security options. For more information, see "About organizations."
To use an organization account with GitHub Enterprise Cloud, you will first need to create an organization. When prompted to choose a plan, select "Enterprise". For more information, see "Creating a new organization from scratch."
Alternatively, if you have an existing organization account that you would like to upgrade, follow the steps in "Upgrading your GitHub subscription."
When you choose to use an organization account with GitHub Enterprise Cloud, you'll first have access to a 30-day trial. If you don't purchase GitHub Enterprise or GitHub Team before your trial ends, your organization will be downgraded to GitHub Free and lose access to any advanced tooling and features that are only included with paid products. For more information, see "Finishing your trial."
Your organization's billing settings page allows you to manage settings like your payment method and billing cycle, view information about your subscription, and upgrade your storage and GitHub Actions minutes. For more information on managing your billing settings, see "Managing your GitHub billing settings."
Only organization members with the owner or billing manager role can access or change billing settings for your organization. A billing manager is a user who manages the billing settings for your organization and does not use a paid license in your organization's subscription. For more information on adding a billing manager to your organization, see "Adding a billing manager to your organization."
To get an enterprise account created for you, contact GitHub's Sales team.
An enterprise account allows you to centrally manage policy and settings for multiple GitHub organizations, including member access, billing and usage and security. For more information, see "About enterprise accounts."
You can create new organizations to manage within your enterprise account. For more information, see "Adding organizations to your enterprise."
Contact your GitHub sales account representative if you want to transfer an existing organization to your enterprise account.
You can view your current subscription, license usage, invoices, payment history, and other billing information for your enterprise account at any time. Both enterprise owners and billing managers can access and manage billing settings for enterprise accounts. For more information, see "Viewing the subscription and usage for your enterprise account."
You can set permissions and member roles, create and manage teams, and give people access to repositories in your organization.
您可以邀请任何人成为您组织的成员，只要他们在 GitHub 上拥有个人帐户。 您还可以移除成员并恢复以前的成员。 更多信息请参阅“管理组织中的成员资格”。
组织中的每个人都有一个角色，用于定义他们对组织的访问级别。 成员角色是默认角色，您可以分配所有者和帐单管理员角色以及“团队维护者”权限。 更多信息请参阅“组织中的角色”。
团队是组织成员的组，您可以创建这些组以反映具有级联访问权限和提及的公司或组的结构。 组织成员可以向团队发送通知或请求审阅，并且团队可以是可见的或机密的。 更多信息请参阅“关于团队”。
Managing members of an enterprise is separate from managing members or teams in an organization. It is important to note that enterprise owners or administrators cannot access organization-level settings or manage members for organizations in their enterprise unless they are made an organization owner. For more information, see the above section, "Managing members and teams in your organization."
If your enterprise uses 企业托管用户, your members are fully managed through your identity provider. Adding members, making changes to their membership, and assigning roles is all managed using your IdP. For more information, see "About 企业托管用户."
If your enterprise does not use 企业托管用户, follow the steps below.
By default, everyone in an enterprise is a member of the enterprise. There are also administrative roles, including enterprise owner and billing manager, that have different levels of access to enterprise settings and data. For more information, see "Roles in an enterprise."
You can invite people to manage your enterprise as enterprise owners or billing managers, as well as remove those who no longer need access. For more information, see "Inviting people to manage your enterprise."
You can also grant enterprise members the ability to manage support tickets in the support portal. For more information, see "Managing support entitlements for your enterprise."
To audit access to enterprise-owned resources or user license usage, you can view every enterprise administrator, enterprise member, and outside collaborator in your enterprise. You can see the organizations that a member belongs to and the specific repositories that an outside collaborator has access to. For more information, see "Viewing people in your enterprise."
- Managing security for a single organization
- Managing security for an 具有托管用户的企业
- Managing security for an enterprise account without 托管用户
You can help keep your organization secure by requiring two-factor authentication, configuring security features, reviewing your organization's audit log and integrations, and enabling SAML single sign-on and team synchronization.
If you manage your applications and the identities of your organization members with an identity provider (IdP), you can configure SAML single-sign-on (SSO) to control and secure access to organization resources like repositories, issues and pull requests. When members of your organization access organization resources that use SAML SSO, GitHub will redirect them to your IdP to authenticate. For more information, see "About identity and access management with SAML single sign-on."
Organization owners can choose to disable, enable but not enforce, or enable and enforce SAML SSO. For more information, see "Enabling and testing SAML single sign-on for your organization" and "Enforcing SAML single sign-on for your organization."
Organization owners can enable team synchronization between your identity provider (IdP) and GitHub to allow organization owners and team maintainers to connect teams in your organization with IdP groups. For more information, see "Managing team synchronization for your organization."
With 企业托管用户, access and identity is managed centrally through your identity provider. Two-factor authentication and other login requirements should be enabled and enforced on your IdP.
In an 具有托管用户的企业, all members are provisioned and managed by your identity provider. You must enable SAML SSO and SCIM provisioning before you can start using your enterprise. For more information on configuring SAML SSO and provisioning for an 具有托管用户的企业, see "Configuring SAML single sign-on for Enterprise Managed Users."
You can connect teams in your organizations to security groups in your identity provider, managing membership of your teams and access to repositories through your IdP. For more information, see "Managing team memberships with identity provider groups."
You can configure an allow list for specific IP addresses to restrict access to assets owned by organizations in your 具有托管用户的企业. For more information, see "Enforcing policies for security settings in your enterprise."
如果您的企业帐户具有 GitHub Advanced Security 许可证，则可以对企业帐户拥有的组织实施策略来管理 GitHub Advanced Security 功能。 更多信息请参阅“在企业帐户实施高级安全策略”。
To manage security for your enterprise, you can require two-factor authentication, manage allowed IP addresses, enable SAML single sign-on and team synchronization at an enterprise level, and sign up for and enforce GitHub Advanced Security features.
1. Requiring two-factor authentication and managing allowed IP addresses for organizations in your enterprise account
Enterprise owners can require that organization members, billing managers, and outside collaborators in all organizations owned by an enterprise account use two-factor authentication to secure their personal accounts. Before doing so, we recommend notifying all who have access to organizations in your enterprise. You can also configure an allow list for specific IP addresses to restrict access to assets owned by organizations in your enterprise account.
For more information on enforcing two-factor authentication and allowed IP address lists, see "Enforcing policies for security settings in your enterprise."
You can centrally manage access to your enterprise's resources, organization membership and team membership using your IdP and SAM single sign-on (SSO). Enterprise owners can enable SAML SSO across all organizations owned by an enterprise account. For more information, see "About identity and access management for your enterprise."
You can enable and manage team synchronization between an identity provider (IdP) and GitHub to allow organizations owned by your enterprise account to manage team membership with IdP groups. For more information, see "Managing team synchronization for organizations in your enterprise account."
如果您的企业帐户具有 GitHub Advanced Security 许可证，则可以对企业帐户拥有的组织实施策略来管理 GitHub Advanced Security 功能。 更多信息请参阅“在企业帐户实施高级安全策略”。
To manage and moderate your organization, you can set organization policies, manage permissions for repository changes, and use organization-level community health files.
您可以为组织创建默认的社区运行状况文件，例如 CONTRIBUTING.md 文件、CODE_OF_CONDUCT.md 文件，甚至是议题和拉取请求模板。 这些默认文件将用于您的组织拥有、不包含其自己的此类文件的任何存储库。 更多信息请参阅“创建默认社区健康文件”。
GitHub 提供了多种工具来审核和管理您的社区。 更多信息请参阅“用于主持社区的工具”。
To manage and moderate your enterprise, you can set policies for organizations within the enterprise, view audit logs, configure webhooks, and restrict email notifications.
You can choose to enforce a number of policies for all organizations owned by your enterprise, or choose to allow these policies to be set in each organization. Types of policies you can enforce include repository management, project board, and team policies. For more information, see "Setting policies for your enterprise."
2. Viewing audit logs, configuring webhooks, and restricting email notifications for your enterprise
You can view actions from all of the organizations owned by your enterprise account in the enterprise audit log. You can also configure webhooks to receive events from organizations owned by your enterprise account. For more information, see "Reviewing audit logs for your enterprise" and "Monitoring your enterprise."
You can also restrict email notifications for your enterprise account so that enterprise members can only use an email address in a verified or approved domain to receive notifications. For more information, see "Restricting email notifications for your enterprise."
Members of your organization or enterprise can use tools from the GitHub Marketplace, the GitHub API, and existing GitHub Enterprise Cloud features to customize and automate your work.
GitHub Marketplace contains integrations that add functionality and improve your workflow. You can discover, browse, and install free and paid tools, including GitHub 应用程序s, OAuth 应用程序s, and GitHub Actions, in GitHub Marketplace. For more information, see "About GitHub Marketplace."
There are two versions of the GitHub API: the REST API and the GraphQL API. You can use the GitHub APIs to automate common tasks, back up your data, or create integrations that extend GitHub Enterprise Cloud. For more information, see "About GitHub's APIs."
With GitHub Actions, you can automate and customize GitHub.com's development workflow on GitHub Enterprise Cloud. You can create your own actions, and use and customize actions shared by the GitHub community. For more information, see "Learn GitHub Actions."
GitHub Packages 是一种软件包托管服务，允许您私下或公开托管软件包，并将包用作项目中的依赖项。 更多信息请参阅“GitHub Packages 简介”。
Members of your organization or enterprise can use GitHub's learning and support resources to get the help they need. You can also support the open source community.
You can read documentation that reflects the features available with GitHub Enterprise Cloud. For more information, see "About versions of GitHub Docs."
Members of your organization or enterprise can learn new skills by completing fun, realistic projects in your very own GitHub repository with GitHub Learning Lab. Each course is a hands-on lesson created by the GitHub community and taught by the friendly Learning Lab bot.
For more information, see "Git and GitHub learning resources."
GitHub 赞助者 允许您每月定期向设计、创建或维护您所依赖的开源项目的开发人员或组织付款。 更多信息请参阅“关于 GitHub 赞助者”。
GitHub 支持 可帮助您排除在使用 GitHub 时遇到的问题。 更多信息请参阅“关于 GitHub 支持”。
GitHub Enterprise Cloud allows you to submit priority support requests with a target eight-hour response time. For more information, see "GitHub Enterprise Cloud support."