Rhevin

Rhevin


Thoughts, stories and ideas.

Tags


Ruby

Decrypt Chef secret manually

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' require 'json' keyfile = "encrypted_databag_secret" encrypted_file = "encrypted_file.json" secret = Chef::En…

Rhevin F Rhevin F