gitlab-org--gitlab-foss/doc/raketasks
Sean McGivern 405379bbfc Store OTP secret key in secrets.yml
.secret stores the secret token used for both encrypting login cookies
and for encrypting stored OTP secrets. We can't rotate this, because
that would invalidate all existing OTP secrets.

If the secret token is present in the .secret file or an environment
variable, save it as otp_key_base in secrets.yml. Now .secret can be
rotated without invalidating OTP secrets.

If the secret token isn't present (initial setup), then just generate a
separate otp_key_base and save in secrets.yml.

Update the docs to reflect that secrets.yml needs to be retained past
upgrades, but .secret doesn't.
2016-08-03 15:46:37 +01:00
..
backup_hrz.png optimize png images losslessly using zopflipng 2016-06-29 19:22:15 +08:00
backup_restore.md Store OTP secret key in secrets.yml 2016-08-03 15:46:37 +01:00
check.md [ci skip] Add user repository integrity check rake task 2015-12-14 15:27:14 -06:00
check_repos_output.png optimize png images losslessly using zopflipng 2016-06-29 19:22:15 +08:00
cleanup.md Update documentation according to the new multiple git mount points feature 2016-07-21 17:48:57 -04:00
features.md Make all non-config/non-operational mentions of URL consistently 2015-01-30 10:24:45 -08:00
import.md Refactor repository paths handling to allow multiple git mount points 2016-06-29 22:30:31 -04:00
list_repos.md Add "rake gitlab:list_repos" task 2015-09-25 17:12:41 +02:00
maintenance.md Added Rake task for tracking deployments 2016-07-19 13:21:09 +02:00
README.md Change all occurrences of doc.gitlab.com to docs.gitlab.com 2016-05-13 16:26:56 -05:00
user_management.md Store OTP secret key in secrets.yml 2016-08-03 15:46:37 +01:00
web_hooks.md web hooks to webhooks 2016-03-10 14:48:29 -05:00

Rake tasks