GitHub SSH 部署密钥的限制
GitHub limit for SSH deploy keys
是否有任何 GitHub SSH 部署密钥限制。假设我需要将 2000 甚至 4000 个部署密钥添加到 git 存储库。这是可能的还是我会在某个时候达到极限?
这样做的原因是我们将有 4000 台设备需要配置。我们希望控制哪个设备可以访问存储库,并在必要时禁用它。另一种选择确实是访问令牌,但据我所知,它们链接到帐户,而不是存储库。
https://help.github.com/articles/git-automation-with-oauth-tokens/
这也意味着我们需要单独管理他们有权访问的存储库的权限。
首先,为什么您需要多达 4000 个部署密钥?这是一个相当大的数字,我认为您应该解释为什么一个存储库需要如此大量的部署密钥。
但是:我联系了 GitHub 支持,在 GitHub 文档中找不到任何关于此的内容并得到以下回复:
I don't believe we have a fixed limit on SSH keys or deploy keys
although as the settings pages weren't designed with this sort of
usage in mind, I think it would be rather difficult to manage.
When someone needs to control access to such a large number of
machines, we'd usually recommend creating personal access
tokens instead,
as these can be automated and will provide similar access. If
the huge number of keys was necessary and causing problems, we'd do
our best to help.
是否有任何 GitHub SSH 部署密钥限制。假设我需要将 2000 甚至 4000 个部署密钥添加到 git 存储库。这是可能的还是我会在某个时候达到极限?
这样做的原因是我们将有 4000 台设备需要配置。我们希望控制哪个设备可以访问存储库,并在必要时禁用它。另一种选择确实是访问令牌,但据我所知,它们链接到帐户,而不是存储库。
https://help.github.com/articles/git-automation-with-oauth-tokens/
这也意味着我们需要单独管理他们有权访问的存储库的权限。
首先,为什么您需要多达 4000 个部署密钥?这是一个相当大的数字,我认为您应该解释为什么一个存储库需要如此大量的部署密钥。
但是:我联系了 GitHub 支持,在 GitHub 文档中找不到任何关于此的内容并得到以下回复:
I don't believe we have a fixed limit on SSH keys or deploy keys although as the settings pages weren't designed with this sort of usage in mind, I think it would be rather difficult to manage.
When someone needs to control access to such a large number of machines, we'd usually recommend creating personal access tokens instead, as these can be automated and will provide similar access. If the huge number of keys was necessary and causing problems, we'd do our best to help.