Skip to main content

LicenseRuntimeService.Renew

Refresh an active installation’s entitlement with a renew challenge. The existing installation key proves possession. DNS changes and the bootstrap credential are unnecessary.

LicenseRuntimeService · Vendor licensing runtime. The installation operator calls the configured licensing endpoint over TLS with its installation identity.

POST /prokrust.license.v1alpha1.LicenseRuntimeService/Renew

Request fields​

CompleteChallengeRequest

JSON fieldTypeMeaning
challengeIdstringIdentifier from GetChallenge for the matching operation and installation.
signaturestringUnpadded base64url Ed25519 signature from the current installation key. Sign the canonical request proof for this nonce, operation and returned payload.

Example request​

{
"challengeId": "53ff4a11-af97-4737-ab75-58731534fc9d",
"signature": "CURRENT_KEY_SIGNATURE"
}

Response fields​

EntitlementResponse

JSON fieldTypeMeaning
activationIdstringPersist this activation identifier for subsequent renewal, lookup, rotation and deactivation.
entitlementJwtstringSigned entitlement for this activation. The operator verifies its issuer, validity and claims before using its capacity.
renewAfterint64Unix time in seconds when the operator should request a fresh entitlement. Schedule renewal before the current grant expires.

Example response​

{
"activationId": "activation-example",
"entitlementJwt": "SIGNED_ENTITLEMENT",
"renewAfter": "1800050000"
}