For vendors using Usakey

Turn a license off and on

Suspend a license, confirm that your app stops working, then resume it and confirm that the app works again.

Plans
Evaluation Personal Team Enterprise
Who does this
Owner Admin Member

What you'll check

You manage licenses the same way after a sale. The app output on this page is the real output of the Usakey integration starter (Python) running in our screenshot environment. Your app shows the same decisions in its own words.

License states and the console actionsSuspending an active license makes it suspended, and your app stops working. While suspended, the device activations and the license key stay, and resuming returns the license to active with the same key. Revoking a license makes it revoked, and that can't be undone. You can revoke from either active or suspended. Every action reaches your app at its next status check.ActiveYour app worksSuspendedDoesn't work.Activations andthe key staySuspendResumeRevokedDoesn't work.Can't be undoneRevokeRevokeEvery action reaches your app at its next status checkLicense states and the console actionsSuspending an active license makes it suspended, and your app stops working. While suspended, the device activations and the license key stay, and resuming returns the license to active with the same key. Revoking a license makes it revoked, and that can't be undone. You can revoke from either active or suspended. Every action reaches your app at its next status check.ActiveYour app worksSuspendedDoesn't work.Activations andthe key staySuspendResumeRevokedDoesn't work.Can't be undoneRevokeEvery action reaches yourapp at its next status check
You can resume a suspended license with the same key, but a revoked license can't be restored.

Activate a device

  1. Step 1Enter the license key in your app

    In your integrated app, enter the license key you issued in Getting started to activate the device. Once it's activated, the protected feature (PDF export in this example) becomes available.

    $ sdk_demo.py activate USK_TEST-••••-••••-••••-HBNB
    [OK] Available (your license expires soon)
         Renew your license before Oct 23, 2026 19:22.
    App output (SDK starter). All but the last 4 characters of the license key are masked. Evaluation-plan licenses expire in 1 hour, so the app says the license expires soon.
  2. Step 2Confirm the device appears in the console

    Open the license in the console. The device count has gone up by one (1 / 3 in this example). Further down the page, you can see the activated device and when it last checked the license status.

    The license details page. The status is Active, the Devices field shows 1 / 3, and one device is listed under Activated devices. Edit, Change customer, and Stop access buttons are at the top right.

Suspend and confirm the app stops

  1. Step 1Open the actions that stop access

    Select Stop access at the top right of the license page to open Stop using the license, then select Suspend.

    The Stop using the license dialog with two choices, Suspend (you can resume later) and Revoke (cannot be undone), each with when to use it.
  2. Step 2Enter a reason and suspend

    Enter a Reason (recorded in the audit log) and select Suspend. The reason is kept in the audit log, which can't be edited or deleted.

    The Suspend license confirmation, explaining that the app stops at its next periodic check and that activated devices and the license key are kept, with a field for the reason and a Suspend button.
    The details page of the suspended license. The status is Suspended, the current access status says the license is suspended and can be restored with the same key by resuming it, and a Resume button is at the top right.
  3. Step 3Confirm your app stops

    The next time your app checks the license status, it receives the suspension, and the protected feature stops working. To check right away, have the app check again, for example with a "Check now" option.

    $ sdk_demo.py check
    [NG] Suspended
         Contact your license administrator. When the license is resumed, this feature comes back at the next check.
    App output after the suspension (SDK starter). The license shows as suspended and the feature can't be used.

Resume and confirm the app works again

  1. Step 1Resume the license

    Select Resume at the top right of the license page, enter a reason, and select Resume. The status goes back to Active.

    The details page of the resumed license. The status is back to Active and the Stop access button is back at the top right.
  2. Step 2Confirm your app works again

    At its next check, your app can use the feature again with the same license key. The user doesn't need to enter anything again.

    $ sdk_demo.py check
    [OK] Available (your license expires soon)
         Renew your license before Oct 23, 2026 19:22.
    App output after resuming (SDK starter). The feature is available again.

How long changes take

How long until a suspension reaches your appWhen you suspend a license in the console, a device that can connect receives the suspension at its next status check and stops. That takes at most the check interval plus 10%. A device that can't connect never receives it, and stops when the last certificate it received and the network grace period run out. The policy page in the console shows both maximum times.When you suspendin the consoleDevice thatcan connectWorksCheckStopsArrives at the next check. Atmost the check interval + 10%Device thatcan't connectLast checkStored certificate'slifetimeNetworkgrace periodStopsThe policy page shows both maximum timesHow long until a suspension reaches your appWhen you suspend a license in the console, a device that can connect receives the suspension at its next status check and stops. That takes at most the check interval plus 10%. A device that can't connect never receives it, and stops when the last certificate it received and the network grace period run out. The policy page in the console shows both maximum times.When you suspendin the consoleDevice that can connectArrives at the next check. Atmost the check interval + 10%WorksStopsStatus checkDevice that can't connectStored certificate's lifetimeNetwork grace periodStopsThe policy page showsboth maximum times
Suspensions and revocations reach a connected device at its next status check. A device that can't connect stops when its stored certificate and the network grace period run out.

How often your app checks the license status is set by the policy's license status check interval. The policy page shows the longest time it can take, with the current settings, from stopping access until the device stops.

Usakey doesn't make cracking impossible. If someone rewrites your app's decisions, it may not stop. To keep your ability to stop it, make the decision at every entry point of a protected feature, not just in what the screen shows.

Ask AI to implement or configure

Copy the instruction for your task and paste it into an AI assistant connected to MCP. You can also select the same task from the MCP prompt list. See the product integration page for connection steps. Add license checks to your app

Refreshing after purchase or contract changes
Use the Usakey MCP server and distributed skills for this task. First read the relevant skill VERSION, SKILL.md and references below. If the local MCP cannot serve resources, read the same files from the distribution ZIP advertised by the connected server. Confirm product, environment, language and existing settings; never invent missing values. Use the official SDK in product apps and never embed a Management API key. Keep management operations within the approved access and plan. Keep secrets out of chat, screens and logs. Write expected behavior as tests before implementation and report actual verification and unverified surfaces.

Implement an app action to refresh after purchases, renewals or contract changes. Respect heartbeat budgets and Retry-After, distinguish pending changes from authentication failure, and never override suspension, revocation or expiry with network grace. Test persistence across restart.

References
skill://usakey-auth-integration/references/purchase-refresh.md
skill://usakey-auth-integration/references/outcome-matrix.md
skill://usakey-auth-integration/references/heartbeat-budget.md

Management tools for configuration and checks
Network outages and restart decisions
Use the Usakey MCP server and distributed skills for this task. First read the relevant skill VERSION, SKILL.md and references below. If the local MCP cannot serve resources, read the same files from the distribution ZIP advertised by the connected server. Confirm product, environment, language and existing settings; never invent missing values. Use the official SDK in product apps and never embed a Management API key. Keep management operations within the approved access and plan. Keep secrets out of chat, screens and logs. Write expected behavior as tests before implementation and report actual verification and unverified surfaces.

Use the official SDK's decision to let users continue using the product during a network outage for the permitted period only. Store and restore the verified state securely. An activation ID alone does not grant access. If the policy permits grace, add the signed grace period to the certificate expiry without going past the contract, lease, or offline deadline. Do not apply grace to a confirmed suspension or revocation. Do not extend the contract, lease, or offline deadline. Distinguish network failures, TLS errors, and invalid signatures. Test before and after both certificate expiry and the grace deadline, with a rolled-back clock, and after restarting.

References
skill://usakey-auth-integration/references/state-and-testing.md
skill://usakey-auth-integration/references/runtime-protocol.md
skill://usakey-auth-integration/references/heartbeat-budget.md

Management tools for configuration and checks
get_integration_config
get_plan_limits
License suspension, resumption and devices
Use the Usakey MCP server and distributed skills for this task. First read the relevant skill VERSION, SKILL.md and references below. If the local MCP cannot serve resources, read the same files from the distribution ZIP advertised by the connected server. Confirm product, environment, language and existing settings; never invent missing values. Use the official SDK in product apps and never embed a Management API key. Keep management operations within the approved access and plan. Keep secrets out of chat, screens and logs. Write expected behavior as tests before implementation and report actual verification and unverified surfaces.

Identify the license and devices and prepare the requested suspension, resumption or deactivation. Obtain target-specific confirmation for irreversible revocation. Verify app behavior in the test environment, tenant/product/environment boundaries and delayed propagation to disconnected devices.

References
skill://usakey-auth-integration/references/outcome-matrix.md
skill://usakey-auth-integration/references/state-and-testing.md
skill://usakey-auth-integration/references/device-release.md

Management tools for configuration and checks
get_license
suspend_license
resume_license
revoke_license
list_activations
deactivate_activation
get_activation_deactivation

Screenshots were taken in a test environment with sample data. IDs such as product IDs, license keys, and activation tokens are masked. Some details may change as we improve the screens.