Class: Gitlab::EncryptedLdapCommand
- Inherits:
-
EncryptedCommandBase
- Object
- EncryptedCommandBase
- Gitlab::EncryptedLdapCommand
- Defined in:
- lib/gitlab/encrypted_ldap_command.rb
Constant Summary collapse
- DISPLAY_NAME =
"LDAP"
- EDIT_COMMAND_NAME =
"gitlab:ldap:secret:edit"
Class Method Summary collapse
Methods inherited from EncryptedCommandBase
edit, show, validate_config, validate_contents, write
Class Method Details
.encrypted_file_template ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/gitlab/encrypted_ldap_command.rb', line 14 def encrypted_file_template <<~YAML # main: # password: '123' # bind_dn: 'gitlab-adm' YAML end |
.encrypted_secrets ⇒ Object
10 11 12 |
# File 'lib/gitlab/encrypted_ldap_command.rb', line 10 def encrypted_secrets Gitlab::Auth::Ldap::Config.encrypted_secrets end |