support encrypted resources