Observatory Registration and API Key Management¶
Document Version: 1.3 | Last Updated: March 2026
What's New in v1.3 (March 2026): - API fingerprint reset for hardware changes (admin feature)
What's New in v1.2 (February 2026): - Observatory History events (online/offline, equipment changes) - Role-based registration management (serverAdmin, organizationAdmin)
This guide explains how observatories register with the Science Scheduler Server and how API keys work.
Overview¶
The Science Scheduler Server uses a secure registration process to: - Identify observatories using hardware fingerprints - Authenticate connections using API keys - Protect the system from unauthorized access
Registration Scenarios¶
Scenario 1: New Observatory (First-Time Registration)¶
If your observatory has never connected to the Science Scheduler Server:
- Fill in plugin settings (see Plugin Setup):
- Server URL
- Leave API Key blank
- Observatory ID/Code (required)
- Observatory Name (required)
-
Contact Email (required)
-
Enable the plugin
- The plugin generates a hardware fingerprint
- Sends registration request to server
-
Server creates a pending registration
-
Wait for administrator approval
- Your registration appears in the admin panel
- Administrator reviews and approves
-
Server generates an API key for your observatory
-
Receive API key automatically
- When approved, the server notifies your plugin via WebSocket
- API key is automatically saved to your plugin settings
-
No restart required - plugin continues with the new key
-
Start observing
- Plugin status changes to "Ready"
- Your observatory now receives observation assignments
Scenario 2: Existing Observatory (Have API Key)¶
If you already have an API key (provided by administrator or from previous setup):
- Enter settings:
- Server URL
- API Key (paste the provided key)
-
Observatory information
-
Enable the plugin
- Plugin connects and authenticates immediately
-
No approval wait required
-
Start observing
- Plugin shows "Ready" status
- Observations begin when available
Scenario 3: API Key Update or Refresh¶
API keys may be updated by administrators for security rotation:
- Automatic update
- When administrators generate a new key, it's sent to your plugin
- Plugin automatically saves and uses the new key
-
No action required from you
-
Manual update
- If instructed by administrator, paste new API key in settings
- Plugin reconnects with new key
Hardware Fingerprint¶
What It Is¶
A hardware fingerprint is a unique identifier for your observatory computer, generated from: - Windows Machine GUID - Network adapter MAC address - Computer name - CPU identifier - Other hardware characteristics
These values are combined and hashed using SHA256 to create a fingerprint like:
Why It Matters¶
The hardware fingerprint: - Identifies your specific computer to the server - Prevents spoofing - others can't impersonate your observatory - Enables automatic reconnection - server recognizes your system
Privacy Protection¶
No actual hardware information is transmitted. The fingerprint is a one-way hash: - Server only sees the hash value - Cannot be reversed to reveal your hardware details - Does not contain personal information
If Your Hardware Changes¶
Significant hardware changes (new motherboard, different computer, Windows reinstall, VM recreation) will generate a new fingerprint.
What happens: 1. Plugin generates a new fingerprint on startup 2. Server detects a mismatch with the stored fingerprint 3. Connection is rejected with a "Fingerprint Mismatch" error
How to resolve: 1. Contact a server administrator and let them know your hardware changed 2. The server admin resets your fingerprint from the admin interface (see Fingerprint Reset below) 3. Your plugin automatically re-enrolls the new fingerprint on the next connection attempt 4. No re-registration or new API key is needed — your existing key continues to work
To minimize downtime: - Contact a server administrator before major hardware changes so they can reset the fingerprint as soon as you're ready to reconnect
Fingerprint Reset¶
When an observatory's hardware changes, a server administrator can reset the stored fingerprint so the plugin can re-enroll with its new hardware identity. Observatory admins cannot perform this action.
What the reset does: - Clears the stored fingerprint from the server - The next plugin connection automatically enrolls the new fingerprint - The observatory's API key, settings, and history are preserved - A security audit event is logged for the reset
How it works (server admins only): 1. Navigate to Observatory Management in the admin interface 2. Find the affected observatory in the list 3. Click the fingerprint icon (orange) in the action buttons 4. Confirm the reset in the dialog 5. Notify the observatory operator that they can reconnect
After reset, the plugin's next connection will be accepted and the new fingerprint enrolled automatically. No restart or reconfiguration is needed on the plugin side.
API Key Types¶
Extended API Key (Standard)¶
- Duration: 12 months
- Use case: Normal operation for approved observatories
- Expiry: Enforced at validation time — expired keys are rejected. Contact an administrator for a new key before expiry.
Temporary API Key¶
- Duration: 14 days
- Use case: Initial registration, testing
- Upgrade: Converted to extended key after approval
Legacy API Key (Deprecated)¶
- Status: Automatically migrated to extended format
- Action: None required - migration is automatic
Registration Flow Diagram¶
┌─────────────────────────────────────────────────────────────────┐
│ NEW OBSERVATORY REGISTRATION │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Plugin Server Admin │
│ │ │ │ │
│ │ 1. Registration Request │ │ │
│ │ (fingerprint + info) │ │ │
│ ├──────────────────────────────>│ │ │
│ │ │ │ │
│ │ │ 2. Creates pending │ │
│ │ │ registration │ │
│ │ │ │ │
│ │ │ 3. Notifies admin │ │
│ │ ├──────────────────────>│ │
│ │ │ │ │
│ │ │ 4. Admin reviews │ │
│ │ │ and approves │ │
│ │ │<──────────────────────┤ │
│ │ │ │ │
│ │ 5. API Key Notification │ │ │
│ │<──────────────────────────────┤ │ │
│ │ │ │ │
│ │ 6. Authenticated │ │ │
│ │ Connection Ready │ │ │
│ │ │ │ │
└─────────────────────────────────────────────────────────────────┘
Troubleshooting Registration¶
"Configuration Required" Error¶
Problem: Plugin shows configuration error instead of connecting.
Solution: Check all required fields are filled: - [ ] Server URL entered - [ ] Observatory ID/Code (3-20 characters, letters/numbers/dashes/underscores) - [ ] Observatory Name - [ ] Contact Email (valid format)
"Fingerprint Mismatch" Error¶
Problem: Server rejects connection due to fingerprint mismatch.
Causes: - Hardware was changed (new computer, motherboard) - Virtual machine was recreated - Windows was reinstalled - A different computer is attempting to use the observatory's API key
Solution: 1. Contact a server administrator 2. Server admin clicks Reset Hardware Fingerprint in Observatory Management 3. Reconnect your plugin — the new fingerprint enrolls automatically 4. Your API key and all observatory settings are preserved
"API Key Invalid" Error¶
Problem: Server rejects your API key.
Causes: - Key expired - Key was revoked by administrator - Typo in the key
Solution: 1. Check the key for typos (copy/paste carefully) 2. Contact administrator for new key if expired 3. Clear key and re-register if necessary
Registration Pending Too Long¶
Problem: You've been waiting for approval and nothing happens.
Solution: 1. Contact your administrator directly 2. Provide your: - Observatory ID/Code - Contact email used - Approximate registration time
No Observations After Registration¶
Problem: Registered and connected, but no observations assigned.
Check: - [ ] Enable Operations is ON in plugin settings - [ ] Queue has observations for your location - [ ] Your observatory has appropriate equipment capabilities
Observatory History and Events¶
Once registered, your observatory's lifecycle events are automatically logged:
- Online/Offline transitions: When your plugin connects or disconnects
- Equipment configuration changes: When your NINA equipment setup changes (camera, mount, filters)
- System info changes: When your computer's hardware or OS information changes
This history is visible to administrators and helps diagnose connectivity or configuration issues.
For Administrators¶
Key admin tasks: - Viewing pending registrations - Approving/rejecting observatories - Generating and managing API keys - Resetting hardware fingerprints when observatory hardware changes - Revoking access when needed
Resetting a Hardware Fingerprint¶
Server admin only. When an observatory operator reports a hardware change or fingerprint mismatch error:
- Go to Observatory Management in the admin interface
- Locate the observatory in the list
- Click the fingerprint icon (orange button) in the observatory's action column
- Confirm the reset when prompted
- A success notification confirms: "Hardware fingerprint reset. Plugin can now reconnect."
The reset:
- Clears the stored fingerprint (the next plugin connection auto-enrolls the new one)
- Preserves the observatory's API key, configuration, and observation history
- Logs a fingerprint_reset security event in the observatory's history with your admin email
Role-based registration management: - Server admins can approve registrations for any organization and reset hardware fingerprints - Organization admins can approve registrations for observatories in their organization
Next Steps¶
- Setup complete? See Getting Started for first observation
- Problems? See Troubleshooting
- Questions about scheduling? See Scheduler Features