For credential management in custom settings during installation, follow these security requirements:
1. **Use Protected Custom Settings**: Store sensitive data like credentials in protected custom settings to prevent unauthorized access.
2. **Custom UI for Input**: Since protected custom settings lack a built-in user interface, create a custom UI using Visualforce, Aura, or LWC for users to input and manage credentials.
3. **Implement CRUD/FLS Checks**: Ensure your Apex code includes proper CRUD (Create, Read, Update, Delete) and FLS (Field-Level Security) checks to validate user permissions when accessing or updating these settings.
These practices help ensure secure credential management. Let me know if you need further assistance!