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