我可以为位桶上的特定存储库分配任何 SSH 密钥权限吗
Can I assign any SSH key permission for specific repository on bit bucket
我的 Bitbucket 帐户中创建了很多 teams
。每个团队都创建了一些 repositories
部署在不同的服务器上。为了拉取存储库,我需要将服务器的 public ssh keys
添加到我的 Bitbucket 帐户。但这意味着服务器上的任何人都可以从我的任何 Bit bucket 存储库中提取数据。有解决办法吗?如果不是,我应该采取什么安全措施来避免这种情况。
这就是 deployment keys 的用途:
You can use deployment keys with your Bitbucket Cloud repositories. A deployment key grants read-only access to a public or private repository. With a deployment key a user or a process can pull or clone a repository over SSH. Deployment keys have the following features and limitations:
- Deployment keys do not apply to your plan limit.
- You can add the same deployment key to multiple repositories.
- The deployment key must be unique — it cannot also be associated with an account.
Deployment keys are useful for authenticating a build server to checkout and test your code.
我的 Bitbucket 帐户中创建了很多 teams
。每个团队都创建了一些 repositories
部署在不同的服务器上。为了拉取存储库,我需要将服务器的 public ssh keys
添加到我的 Bitbucket 帐户。但这意味着服务器上的任何人都可以从我的任何 Bit bucket 存储库中提取数据。有解决办法吗?如果不是,我应该采取什么安全措施来避免这种情况。
这就是 deployment keys 的用途:
You can use deployment keys with your Bitbucket Cloud repositories. A deployment key grants read-only access to a public or private repository. With a deployment key a user or a process can pull or clone a repository over SSH. Deployment keys have the following features and limitations:
- Deployment keys do not apply to your plan limit.
- You can add the same deployment key to multiple repositories.
- The deployment key must be unique — it cannot also be associated with an account.
Deployment keys are useful for authenticating a build server to checkout and test your code.