TODO: continue configuration of secure