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