Skip to main content

LicensingService.GetLicenseActivation

Read the administrator view of cluster-scoped LicenseActivation/default. The caller needs get permission on that resource. Read this view again to check progress after publishing a requested TXT record.

LicensingService · Installed Web API. Use the HTTPS origin of your Prokrust installation and credentials authorized for this operation.

POST /prokrust.api.v1alpha1.LicensingService/GetLicenseActivation

Request headers​

HeaderValue and purpose
AuthorizationUse Bearer $PROKRUST_TOKEN for a Kubernetes caller authorized for this operation. Browser calls use the signed-in session.
Content-Typeapplication/json selects ProtoJSON for this unary request.
Connect-Protocol-Version1 selects version 1 of the Connect protocol.

Request fields​

GetLicenseActivationRequest

This message has no fields. Its JSON representation is {}.

Example request​

Set PROKRUST_URL to the installation’s HTTPS origin and PROKRUST_TOKEN to your caller token. Replace the sample values with values from your installation.

curl --fail-with-body --silent --show-error \
-H "Authorization: Bearer $PROKRUST_TOKEN" \
-H 'Content-Type: application/json' \
-H 'Connect-Protocol-Version: 1' \
"$PROKRUST_URL/prokrust.api.v1alpha1.LicensingService/GetLicenseActivation" \
--data-binary @- <<'JSON'
{}
JSON

Response fields​

GetLicenseActivationResponse

JSON fieldTypeMeaning
uidstringKubernetes metadata.uid identifying this particular object. Read it from the resource before targeting an existing instance.
resourceVersionstringOpaque Kubernetes resource version. Copy the value from a current read. Preserve it as a string.
readyboolWhether LicenseActivation/default reports Ready for the installation.
dnsNamestringDNS TXT record name to publish while activation awaits ownership verification.
dnsValuestringDNS TXT record value to publish at dnsName for the current challenge.
messagestringHuman-readable activation progress or error to inspect when ready is false.
retryIntervalSecondsuint32The Operator automatically retries pending DNS activation every 15 seconds, plus the duration of its current reconciliation. A manual UI status check reads this view; it does not force renewal or bypass DNS verification.

Example response​

{
"uid": "cf8946fe-0f57-5212-91ad-b0b41633d7ec",
"resourceVersion": "42",
"ready": true,
"message": "Installation entitlement active",
"retryIntervalSeconds": 15
}

Kubernetes reference​

See the LicenseActivation reference for the resource configuration and controller observations.