Skip to content
Oclavex is in private preview, available to selected users. Public signup is blocked. Request access at [email protected].

Sets whether activating the entitlement requires a hardware key.

POST
/api/v1/provision/admin/entitlements/{entitlementId}/policies/hardware-key
curl --request POST \
--url https://example.com/api/v1/provision/admin/entitlements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/policies/hardware-key \
--header 'Content-Type: application/json' \
--data '{ "requiredKey": "None", "requireTouch": true }'

A license that requires a hardware key activates only through the hardware-key add-on, which verifies the key’s attestation first. The requirement applies to activations from then on: devices already activated keep their licenses until their sessions are released or revoked. Turning the requirement on needs a plan that includes hardware keys; turning it off, or changing the touch setting of a requirement already on, does not.

entitlementId
required
string format: uuid

Target entitlement or offer.

The key required, and whether it must ask for a touch.

Whether activating the entitlement requires a hardware key. A license that requires one activates only through the hardware-key service, which verifies the key’s attestation first.

object
requiredKey

The hardware key an activation must come with; None when none is required.

Allowed values: None YubiKey
requireTouch

The key must ask for a touch before it signs, so a person is present at every check.

boolean

The stored requirement.

Whether activating the entitlement requires a hardware key. A license that requires one activates only through the hardware-key service, which verifies the key’s attestation first.

object
requiredKey

The hardware key an activation must come with; None when none is required.

Allowed values: None YubiKey
requireTouch

The key must ask for a touch before it signs, so a person is present at every check.

boolean

The hardware key named is not one the platform knows (license.validation_error).

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string

Hardware keys are not included in the plan (license.hardware_keys_not_licensed).

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string

No such entitlement.

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string