add admin secret to type