# File lib/chef/knife/data_bag_edit.rb, line 51 def use_encryption if config[:secret] && config[:secret_file] stdout.puts "please specify only one of --secret, --secret-file" exit(1) end config[:secret] || config[:secret_file] end