# File lib/chef/knife/data_bag_from_file.rb, line 54 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