Class: Gitlab::EncryptedLdapCommand
Constant Summary
collapse
- DISPLAY_NAME =
"LDAP"
- EDIT_COMMAND_NAME =
"gitlab:ldap:secret:edit"
Class Method Summary
collapse
edit, editor_args, show, validate_config, validate_contents, write
Class Method Details
.encrypted_file_template ⇒ Object
13
14
15
16
17
18
19
|
# File 'lib/gitlab/encrypted_ldap_command.rb', line 13
def encrypted_file_template
" # main:\n # password: '123'\n # bind_dn: 'gitlab-adm'\n YAML\nend\n"
|
.encrypted_secrets ⇒ Object
9
10
11
|
# File 'lib/gitlab/encrypted_ldap_command.rb', line 9
def encrypted_secrets
Gitlab::Auth::Ldap::Config.encrypted_secrets
end
|