Class: Gitlab::EncryptedIncomingEmailCommand

Inherits:
EncryptedCommandBase show all
Defined in:
lib/gitlab/encrypted_incoming_email_command.rb

Constant Summary collapse

DISPLAY_NAME =
"INCOMING_EMAIL"
EDIT_COMMAND_NAME =
"gitlab:incoming_email:secret:edit"

Class Method Summary collapse

Methods inherited from EncryptedCommandBase

edit, editor_args, show, validate_config, validate_contents, write

Class Method Details

.encrypted_file_templateObject



13
14
15
16
17
18
# File 'lib/gitlab/encrypted_incoming_email_command.rb', line 13

def encrypted_file_template
  "    # password: '123'\n    # user: '[email protected]'\n  YAML\nend\n"

.encrypted_secretsObject



9
10
11
# File 'lib/gitlab/encrypted_incoming_email_command.rb', line 9

def encrypted_secrets
  Gitlab::Email::IncomingEmail.encrypted_secrets
end