2023-04-23 21:23:45 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# rubocop:disable Rails/Output
|
|
|
|
module Gitlab
|
|
|
|
class EncryptedServiceDeskEmailCommand < EncryptedCommandBase
|
|
|
|
DISPLAY_NAME = "SERVICE_DESK_EMAIL"
|
|
|
|
EDIT_COMMAND_NAME = "gitlab:service_desk_email:secret:edit"
|
|
|
|
|
|
|
|
class << self
|
|
|
|
def encrypted_secrets
|
2023-06-20 00:43:36 +05:30
|
|
|
Gitlab::Email::ServiceDeskEmail.encrypted_secrets
|
2023-04-23 21:23:45 +05:30
|
|
|
end
|
|
|
|
|
|
|
|
def encrypted_file_template
|
|
|
|
<<~YAML
|
|
|
|
# password: '123'
|
|
|
|
# user: 'gitlab-incoming@gmail.com'
|
|
|
|
YAML
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
# rubocop:enable Rails/Output
|