Welcome to mirror list, hosted at ThFree Co, Russian Federation.

encrypted_service_desk_email_command.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1a0317e0da9b83d644d2666cbf8cf8ad47e9459e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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
        Gitlab::Email::ServiceDeskEmail.encrypted_secrets
      end

      def encrypted_file_template
        <<~YAML
          # password: '123'
          # user: 'gitlab-incoming@gmail.com'
        YAML
      end
    end
  end
end
# rubocop:enable Rails/Output