add newly added cert.save_secret() method.