v2.0.0, secure access is turned on automatically whenever a sandbox is created. Older custom templates might not support secure access, in which case a rebuild may be required.
Migration path
For custom templates created with envd earlier thanv0.2.0, secure access is available only after the template is rebuilt.
You can set secure to false to temporarily disable secure access during sandbox creation, but disabling secure access is not recommended for production use because of security risks.
Use novita-sandbox-cli template list to check the template Envd version. You can also inspect templates in the dashboard.