Use this API to retrieve the public key that GitLab uses to sign the commits created with the web editor.
Retrieve the public signing key
GET /api/v4/web_commits/public_key
Retrieves the GitLab public key for signing web commits. This feature was introduced in GitLab 17.4.
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
404 | Public key not found. | — |
503 | The git server, | — |