Files
gitlab-foss/lib/gitlab/encrypted_smtp_command.rb
2024-10-29 21:26:13 +00:00

22 lines
439 B
Ruby

# frozen_string_literal: true
module Gitlab
class EncryptedSmtpCommand < EncryptedCommandBase
DISPLAY_NAME = "SMTP"
EDIT_COMMAND_NAME = "gitlab:smtp:secret:edit"
class << self
def encrypted_secrets
Gitlab::Email::SmtpConfig.encrypted_secrets
end
def encrypted_file_template
<<~YAML
# password: '123'
# user_name: 'gitlab-inst'
YAML
end
end
end
end