Documentation
Feature Flags
Feature Flags
Infra0 uses feature flags to enable or disable certain features in your deployment. Feature flags are configured via environment variables and set by your administrator.
Available Feature Flags
- 1NEXT_PUBLIC_TICKETS_ENABLED
- Controls: Ticket management feature
- When disabled: The 'Tickets' menu item is hidden from the sidebar
- Default: Enabled
- 2NEXT_PUBLIC_APP_CREDENTIALS_ENABLED
- Controls: App credentials management
- When disabled: The 'App Credentials' menu item is hidden
- Default: Enabled
- 3NEXT_PUBLIC_CREDENTIAL_TYPES_ENABLED
- Controls: Credential type template management
- When disabled: The 'Credential Types' menu item is hidden
- Default: Disabled (controlled by admin preference)
- 4NEXT_PUBLIC_CLOUD_PROVIDER_CREDENTIALS_ENABLED
- Controls: Cloud provider credentials management
- When disabled: The 'Cloud Provider Credentials' menu item is hidden
- Default: Enabled
For Administrators
- Feature flags are set in the .env file of the Infra0 deployment
- Changes to feature flags require restarting the application
- Feature flags affect visibility but not data — disabling a feature does not delete existing data
- Example .env settings:
code
NEXT_PUBLIC_TICKETS_ENABLED=true NEXT_PUBLIC_APP_CREDENTIALS_ENABLED=true NEXT_PUBLIC_CREDENTIAL_TYPES_ENABLED=false NEXT_PUBLIC_CLOUD_PROVIDER_CREDENTIALS_ENABLED=true