Commit a815cd7c authored by Evan Read's avatar Evan Read

Merge branch 'nelbacha-master-patch-10161' into 'master'

Add an example for the authorization token

Closes gitlab-com/support/docs#68

See merge request gitlab-org/gitlab!25878
parents 135011c4 a1802631
......@@ -51,12 +51,16 @@ We need to make Docker Registry send notification events to the
'threshold' => 5,
'backoff' => '1s',
'headers' => {
'Authorization' => ['<replace_with_a_secret_token>'] # An alphanumeric string. Case sensitive and must start with a letter.
'Authorization' => ['<replace_with_a_secret_token>']
}
}
]
```
NOTE: **Note:**
Replace `<replace_with_a_secret_token>` with a case sensitive alphanumeric string
that starts with a letter. You can generate one with `< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c 32 | sed "s/^[0-9]*//"; echo`
NOTE: **Note:**
If you use an external Registry (not the one integrated with GitLab), you must add
these settings to its configuration yourself. In this case, you will also have to specify
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment