Extract out SecretPointer as a module