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
ce8aedf0
Commit
ce8aedf0
authored
Oct 11, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add examples of fake tokens to be used in docs
[ci skip]
parent
e17fa240
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
doc/development/doc_styleguide.md
doc/development/doc_styleguide.md
+23
-0
No files found.
doc/development/doc_styleguide.md
View file @
ce8aedf0
...
...
@@ -314,6 +314,29 @@ In this case:
-
different highlighting languages are used for each config in the code block
-
the
[
references
](
#references
)
guide is used for reconfigure/restart
## Fake tokens
There may be times where a token is needed to demonstrate an API call using
cURL or a secret variable used in CI. It is strongly advised not to use real
tokens in documentation even if the probability of a token being exploited is
low.
You can use the following fake tokens as examples.
|
**Token type**
|
**Token value**
|
| --------------------- | --------------------------------- |
| Private user token |
`9koXpg98eAheJpvBs5tK`
|
| Personal access token |
`n671WNGecHugsdEDPsyo`
|
| Application ID |
`2fcb195768c39e9a94cec2c2e32c59c0aad7a3365c10892e8116b5d83d4096b6`
|
| Application secret |
`04f294d1eaca42b8692017b426d53bbc8fe75f827734f0260710b83a556082df`
|
| Secret CI variable |
`Li8j-mLUVA3eZYjPfd_H`
|
| Specific Runner token |
`yrnZW46BrtBFqM7xDzE7dddd`
|
| Shared Runner token |
`6Vk7ZsosqQyfreAxXTZr`
|
| Trigger token |
`be20d8dcc028677c931e04f3871a9b`
|
| Webhook secret token |
`6XhDroRcYPM5by_h-HLY`
|
| Health check token |
`Tu7BgjR9qeZTEyRzGG2P`
|
| Request profile token |
`7VgpS4Ax5utVD2esNstz`
|
## API
Here is a list of must-have items. Use them in the exact order that appears
...
...
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