def encrypted_data_bag_for(environment, data_bag)
      @encrypted_data_bags = {} unless @encrypted_data_bags

      if encrypted_data_bags[data_bag]
        return get_from_data_bags_cache(data_bag)
      else
        data_bag_item = encrypted_data_bag_item(data_bag, environment)
        data_bag_item ||= encrypted_data_bag_item(data_bag, WILDCARD)
        data_bag_item ||= {}
        @encrypted_data_bags[data_bag] = data_bag_item
        return data_bag_item
      end
    end
def encrypted_data_bag_for(environment, data_bag)
      @encrypted_data_bags = {} unless @encrypted_data_bags

      if encrypted_data_bags[data_bag]
        return get_from_data_bags_cache(data_bag)
      else
        data_bag_item = encrypted_data_bag_item(data_bag, environment)
        data_bag_item ||= encrypted_data_bag_item(data_bag, WILDCARD)
        data_bag_item ||= {}
        @encrypted_data_bags[data_bag] = data_bag_item
        return data_bag_item
      end
    end
Looks for the given data bag in the cache and if not found, will load a
 data bag item named for the chef_environment, or '_wildcard' value.

 @param [String] environment
   The environment.

 @param [String] data_bag
   The data bag to load.

 @return [Chef::Mash]
   The data bag item in Mash form.