spotf provisioning-token create
Create Provisioning Token
Arguments
None.
Options
--display-name
: Display name
- Required.
- Value = [string]
--max-registration-token-lifetime
: A constraint for all provisioning operations created with that token to limit the lifetime of created RTs. Kubernetes-style format: <number><unit>, where <number> represents the numerical value of the duration, and <unit> represents the unit of time. Examples: '1h' (1 hour) , '5m' (5 minutes), '10s' (10 seconds), '2d3h30m' (2 days, 3 hours and 30 minutes)
- Value = [TimeSpan]
--registration-token-lifetime-override-mode
: Determines the policy for changing RT lifetime during the approval of the provisioning operation. Possible values: allowed (can be overridden), disabled (cannot be overridden), enforce (must be overridden).
- Value = [Disabled|Allowed|Enforce]
--device-id-override-mode
: Determines the policy for changing the device’s identity (device id). Possible values: device-enforce (device must override during initialization), device-and-technician-allow (both device and technician during approval can override), technician-enforce (technician must override during approval), technician-allow (technician can override during approval), disable (neither device nor technician can override), device-allow (device can override during initialization).
- Value = [DeviceEnforce|DeviceAndTechnicianAllow|TechnicianEnforce|TechnicianAllow|Disable|DeviceAllow]
--device-id
: Device ID
- Value = [string]
--allow-infinite-registration-token-lifetime
: Determines whether a registration token with an infinite lifetime is allowed to be created.
--instance-label
: Label for IoT Platform instance
- Value = [string]
--workspace
: Workspace ID / Name
- Value = [string]