Sha256: 37d4eccfd3c5138a0fbdd99ee3ea4a2245340a17566244611725f559db704fb7
Contents?: true
Size: 498 Bytes
Versions: 1
Compression:
Stored size: 498 Bytes
Contents
require 'chef/conceal/version' require 'chef/encrypted_data_bag_item' require 'chef/recipe' require 'chef/resource' require 'chef/provider' require 'conceal' class Chef module Conceal module DSL def decrypt(data) key = Chef::EncryptedDataBagItem.load_secret ::Conceal.decrypt(data, key: key) end end end end Chef::Recipe.send(:include, Chef::Conceal::DSL) Chef::Resource.send(:include, Chef::Conceal::DSL) Chef::Provider.send(:include, Chef::Conceal::DSL)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chef-conceal-0.1.0 | lib/chef/conceal.rb |