Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
52abbc82
Commit
52abbc82
authored
Mar 21, 2022
by
Alexander Tanayno
Committed by
Nick Gaskill
Mar 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about using deploy tokens
parent
f802d400
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
doc/api/index.md
doc/api/index.md
+4
-0
doc/user/project/deploy_tokens/index.md
doc/user/project/deploy_tokens/index.md
+3
-1
No files found.
doc/api/index.md
View file @
52abbc82
...
...
@@ -150,6 +150,10 @@ message with a status code of `401`:
}
```
NOTE:
Deploy tokens can't be used with the GitLab public API. For details, see
[
Deploy Tokens
](
../user/project/deploy_tokens/index.md
)
.
### OAuth2 tokens
You can use an
[
OAuth2 token
](
oauth2.md
)
to authenticate with the API by passing
...
...
doc/user/project/deploy_tokens/index.md
View file @
52abbc82
...
...
@@ -16,7 +16,9 @@ container registry images of a project without having a user and a password.
Deploy tokens can be managed only by users with the Maintainer role.
Deploy tokens cannot be used with the GitLab API.
Deploy tokens can't be used with the GitLab public API. However, you can use deploy tokens with some
endpoints, such as those from the Package Registry. For details, see
[
Authenticate with the registry
](
../../packages/package_registry/index.md#authenticate-with-the-registry
)
.
Deploy tokens are tied to the project and stay enabled even when the user who created the token is removed from the project.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment