Secure APC, preventing leak of secrets