Service: License
| This API is officially released and maintained. |
License service to assign a product variant and metadata to a Qb2.
The license is cryptographically singed and configured during production. A configured license can only be replaced by another valid license for this device.
A license contains the specific product variant and can additionally contain arbitrary metadata for the specfic customer or application.
| Method | Request | Response |
|---|---|---|
Get
Get configured license, and the activation of a QbOS installation
Response
Response containing licensed product variant and metadata
| Field | Type | Default | Unit |
|---|---|---|---|
license |
- |
- |
|
The configured license |
|||
activation |
- |
- |
|
Unset on a device that is not a QbOS installation |
|||
Activation
Activation of a QbOS installation: locked until an activation file issued for its fingerprint is applied
| Field | Type | Default | Unit |
|---|---|---|---|
state |
- |
- |
|
Whether the installation is activated on this machine |
|||
fingerprint |
string |
- |
- |
Identifies this installation on this machine; an activation file is issued for it |
|||
State
Whether the installation is activated on this machine
| Name | Value | Description |
|---|---|---|
STATE_UNSPECIFIED |
0 |
Not reported |
STATE_LOCKED |
1 |
Waiting for an activation file |
STATE_ACTIVATED |
2 |
Activated on this machine |
Activate
Activate a locked QbOS installation with an activation file issued for its fingerprint. The file carries serial number, device credentials, license and the keys of the installation. The device reboots afterwards.
Request
Activation file to apply
| Field | Type | Default | Unit |
|---|---|---|---|
file |
bytes |
- |
- |
Serialized blickfeld.secure.data.Activation.File |
|||
admin_password |
string |
- |
- |
Password of the administrator account set up with the activation |
|||
admin_username |
string |
- |
- |
Name of the administrator account created with admin_password, |
|||