Decrypt Chef secret manually 8 months ago 1 min read ChefRuby Chef make sure to change keyfile and encrypted_file variable with your existing databags secret and your result file name, save as script.rb then run it require 'chef/encrypted_data_bag_item'