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
167fa480
Commit
167fa480
authored
Jul 01, 2019
by
Krasimir Angelov
Committed by
Marcia Ramos
Jul 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Deploy Tokens documentation
Update screenshot, add Deploy Token Custom Username section
parent
ac2971a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
doc/user/project/deploy_tokens/img/deploy_tokens.png
doc/user/project/deploy_tokens/img/deploy_tokens.png
+0
-0
doc/user/project/deploy_tokens/index.md
doc/user/project/deploy_tokens/index.md
+8
-1
No files found.
doc/user/project/deploy_tokens/img/deploy_tokens.png
View replaced file @
ac2971a2
View file @
167fa480
22.5 KB
|
W:
|
H:
214 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/user/project/deploy_tokens/index.md
View file @
167fa480
...
...
@@ -15,7 +15,7 @@ You can create as many deploy tokens as you like from the settings of your proje
1.
Go to the project you want to create Deploy Tokens for.
1.
Go to
**Settings**
>
**Repository**
.
1.
Click on "Expand" on
**Deploy Tokens**
section.
1.
Choose a name
and optionally an expiry date
for the token.
1.
Choose a name
, expiry date (optional), and username (optional)
for the token.
1.
Choose the
[
desired scopes
](
#limiting-scopes-of-a-deploy-token
)
.
1.
Click on
**Create deploy token**
.
1.
Save the deploy token somewhere safe. Once you leave or refresh
...
...
@@ -39,6 +39,13 @@ the following table.
|
`read_repository`
| Allows read-access to the repository through
`git clone`
|
|
`read_registry`
| Allows read-access to [container registry] images if a project is private and authorization is required. |
## Deploy token custom username
> [Introduced][https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29639] in GitLab 12.1.
The default username format is
`gitlab+deploy-token-#{n}`
. Some tools or platforms may not support this format,
in such case you can specify custom username to be used when creating the deploy token.
## Usage
### Git clone a repository
...
...
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