Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-21 09:09:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-21 09:09:08 +0300
commitab0dd39a49e43f6beed9bdb6414a0f04bcf671b4 (patch)
tree76fed8c52db143aaab475e59dc3b1610fe653152 /doc/api/keys.md
parent2399724614f3c4dcf3059038d997193830de93ee (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/keys.md')
-rw-r--r--doc/api/keys.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/api/keys.md b/doc/api/keys.md
index 30b0cda6c8b..e05b1191715 100644
--- a/doc/api/keys.md
+++ b/doc/api/keys.md
@@ -129,8 +129,14 @@ Example response:
}
```
-Deploy Keys are bound to the creating user, so if you query with a deploy key
-fingerprint you get additional information about the projects using that key:
+## Get user by deploy key fingerprint
+
+> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/119209) in GitLab 12.7.
+
+Deploy keys are bound to the creating user, so if you query with a deploy key
+fingerprint you get additional information about the projects using that key.
+
+Example request:
```sh
curl --header "PRIVATE-TOKEN: <your_access_token>" 'https://gitlab.example.com/api/v4/keys?fingerprint=SHA256%3AnUhzNyftwADy8AH3wFY31tAKs7HufskYTte2aXo%2FlCg