Overview
License keys are the core of KeyBox’s functionality. Each license is automatically generated when you create a project and can be activated, revoked, and monitored throughout its lifecycle.Licenses are always created as part of a project. KeyBox does not support standalone license creation—every license belongs to a project under a client.
License Generation Process
Licenses are automatically created when you set up a new project.Configure License Parameters
Your license is configured through the project settings:
- Duration: Sets how long the license remains valid (1-12 months)
- Services: Defines which services the license grants access to
- Client Context: Associates the license with a specific client
Generate License
Click Create Project & License to generate the license key.KeyBox creates:
- A unique, cryptographic license key
- Initial status set to “Pending”
- Issue date timestamp
- Expiration date (calculated from duration)
License Configuration
Duration Settings
The license duration determines the validity period:1-3 Months
Short-term licenses for trials, demos, or monthly subscriptions
3-6 Months
Medium-term licenses for quarterly or semi-annual plans
6-12 Months
Long-term licenses for annual contracts and enterprise agreements
The duration counter starts when the license is activated, not when it’s created. This allows you to generate licenses in advance.
Service Configuration
Services define what the license grants access to:Available Services
- Hosting: Grants access to hosting-related features in your application
- Domain: Grants access to domain management features
- Hosting only: For server or infrastructure services
- Domain only: For domain registration or DNS management
- Both: For complete hosting packages with domain included
License Lifecycle
Licenses progress through several states during their lifecycle.Pending Status
When first created, all licenses start in pending state:- Status Badge: Gray badge reading “PENDING”
- Duration: Not yet consuming time
- Header Message: “Starts on Activation (X Months)”
- Actions: Can be activated or deleted
When to Keep Pending
- Licenses generated in advance for future clients
- Pre-created licenses for batch deployment
- Licenses awaiting purchase or payment confirmation
Active Status
Activated licenses are fully functional:- Status Badge: Green badge reading “ACTIVE”
- Duration: Timer running, counting down to expiration
- Header Message: “Expires: [Date]” with color-coded urgency
- Actions: Can be revoked or monitored
Activation Process
Toggle Activation
Click the toggle switch in the Actions column.The switch moves to the right and changes color to indicate active state.
First activation can also happen through the SDK when a client validates the license for the first time.
Revoked Status
Manually disabled licenses:- Status Badge: Red badge reading “REVOKED”
- Duration: Timer paused
- Actions: Can be reactivated
- SDK Response: Validation fails until reactivated
When to Revoke
- Client payment failure or chargebacks
- Terms of service violations
- Temporary access suspension
- Testing or debugging purposes
Revocation Process
Expired Status
Licenses that have exceeded their duration:- Status Badge: Gray badge reading “EXPIRED”
- Duration: Timer reached zero
- Header Message: “License Has Been Expired”
- Actions: Cannot be reactivated
Expired licenses cannot be renewed or reactivated. You must create a new project and license for the client.
Managing License Keys
Viewing License Keys
By default, license keys are masked for security:Copying License Keys
Click to Copy
Click the icon to copy the full license key to your clipboard.The icon changes to a green checkmark for 2 seconds to confirm the action.
You can copy keys even when they’re masked. The full key is always copied, not the masked version.
Monitoring License Health
KeyBox provides visual indicators to help you proactively manage license renewals.Expiration Indicators
The project header badge changes color based on remaining time:Green Badge
>80% remainingLicense is healthy with plenty of time left
Yellow Badge
30-80% remainingConsider preparing renewal soon
Red Badge (Pulsing)
Less than 30% remainingUrgent renewal needed, contact client immediately
Expiration Date Display
Active licenses show their expiration date in the header:- Month abbreviated (Jan, Feb, Mar, etc.)
- Day of month
- Full year
License Dashboard Features
License Table Layout
Each project displays its licenses in a detailed table:Service Tags
Services appear as colored badges:- Hosting: Blue/slate badge
- Domain: Blue/slate badge
- Multiple services display as separate tags
Status Badges
Color-coded status indicators:- ACTIVE: Green badge with emerald tones
- PENDING: Amber/yellow badge
- REVOKED: Red badge with white text
- EXPIRED: Gray/slate badge
License Best Practices
Pre-Generation Strategy
Batch Creation
Create multiple licenses in advance for planned deployments
Template Projects
Set up common project configurations for quick license generation
Activation Timing
- Immediate Activation: For licenses that should start right away
- Client-Triggered: Let clients activate via SDK validation (recommended)
- Delayed Activation: Keep pending until payment or contract signature
Renewal Management
Create New License
When a license is near expiration, create a new project with an updated duration.
Troubleshooting
License Not Activating
Toggle switch not working
Toggle switch not working
- Ensure you have an active internet connection
- Check that your session hasn’t expired (refresh the page)
- Verify the license is in PENDING or REVOKED status
- Check browser console for errors
Status not updating
Status not updating
- Refresh the dashboard page
- Expand and collapse the client card to reload data
- Check that the backend server is responding
License Key Issues
Cannot copy key
Cannot copy key
- Ensure clipboard permissions are enabled in your browser
- Try selecting the text manually and using Ctrl+C/Cmd+C
- Check if browser extensions are blocking clipboard access
Key not visible after generation
Key not visible after generation
- Expand the client card containing the project
- Scroll down to the project’s license table
- Ensure the project creation succeeded (check for success notification)
Expired License Recovery
To provide continued service:- Create a new project for the same client
- Generate a fresh license with appropriate duration
- Provide the new key to your client
- Update their application configuration with the new key
Integration with SDKs
Once you’ve generated a license key, your clients can integrate it into their applications:Node.js SDK
Validate licenses in Node.js applications
Python SDK
Integrate license validation in Python projects
.NET SDK
Use license validation in C# and .NET apps
Next Steps
Learn License Lifecycle
Understand the complete license state machine
Implement Validation
Add license validation to your applications