JorgeeFG
JorgeeFG

Reputation: 5981

What are public keys in GitLab?

In my project's settings I see this:

Public deploy keys available to any project (15)

Rewind
CFMM Ansible Deployment
LRM Puppet Test
gitlab-runner (lion)
deploy@jasmine
[email protected]
test-server
gitlab-runner
kijkmijnhuis@SensioLabsInsight 

And many more... what are these things for? I know that if I enable one, that key then could clone my repo... but why are these things showing to me? Is there any benefit?

Upvotes: 3

Views: 2010

Answers (1)

VonC
VonC

Reputation: 1327184

See "Deploy Keys":

Deploy keys allow read-only or read-write (if enabled) access to one or multiple projects with a single SSH key pair.

This is really useful for cloning repositories to your Continuous Integration (CI) server. By using deploy keys, you don't have to setup a dummy user account.

I use them with Jenkins: easy to setup, easy to revoke if needed.

And I use a read-write deploy key for a maven release task to be able to push back to any repo where that key is deployed.

Upvotes: 1

Related Questions