From 15e2ba3f784c7c3670f73b1c1b00b929f758d538 Mon Sep 17 00:00:00 2001 From: DJ Mountney Date: Wed, 18 Nov 2020 14:47:42 -0800 Subject: [PATCH 1/6] Add documentation for encrypted ldap credentials Documents how to generate the secret, and use the encrypted credentials --- .../auth/ldap/google_secure_ldap.md | 5 + doc/administration/auth/ldap/index.md | 87 +++++++++++++++++ doc/administration/encrypted_configuration.md | 37 ++++++++ doc/administration/raketasks/ldap.md | 94 +++++++++++++++++++ 4 files changed, 223 insertions(+) create mode 100644 doc/administration/encrypted_configuration.md diff --git a/doc/administration/auth/ldap/google_secure_ldap.md b/doc/administration/auth/ldap/google_secure_ldap.md index 90f0e681dd1147..3f947c8baef165 100644 --- a/doc/administration/auth/ldap/google_secure_ldap.md +++ b/doc/administration/auth/ldap/google_secure_ldap.md @@ -210,6 +210,11 @@ values obtained during the LDAP client configuration earlier: 1. Save the file and [restart](../../restart_gitlab.md#installations-from-source) GitLab for the changes to take effect. +## Using encrypted credentials + +You can optionally store the `bind_dn` and `password` in a separate encrypted configuration file using the +[same steps as the regular LDAP integration](index.md#using-encrypted-credentials). +