Skip to content

Commit 240a7af

Browse files
committed
split up builtin fields tables
1 parent 058dcee commit 240a7af

File tree

1 file changed

+103
-58
lines changed

1 file changed

+103
-58
lines changed

docs/vendor/licenses-using-builtin-fields.mdx

Lines changed: 103 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ This topic describes the built-in license fields that are available when creatin
66

77
## Set Initial Values for Built-In License Fields (Beta)
88

9-
You can set the initial values that will populate the **Create Customer** form in the Vendor Portal when a new customer is created. This ensures that each new customer created from the Vendor Portal UI starts with the same set of built-in license field values.
10-
11-
These initial values that you can set for built-in license fields differ from default values in that setting initial values does not update the license field values for any existing customers.
9+
You can set initial values to populate the **Create Customer** form in the Vendor Portal when a new customer is created. This ensures that each new customer created from the Vendor Portal UI starts with the same set of built-in license field values.
1210

1311
:::note
14-
Initial values set in the Vendor Portal UI are not applied to new customers created through the Vendor API.
12+
Initial values are not applied to new customers created through the Vendor API v3.
1513
:::
1614

17-
To set inital values for the built-in license fields:
15+
These _initial_ values differ from _default_ values in that setting initial values does not update the license field values for any existing customers.
16+
17+
To set inital values for built-in license fields:
1818

1919
1. In the Vendor Portal, go to **License Fields**.
2020

@@ -24,113 +24,158 @@ To set inital values for the built-in license fields:
2424

2525
[View a larger version of this image](/images/edit-initial-value.png)
2626

27-
## Built-In License fields
27+
## Built-In License Fields
28+
29+
Built-in license fields are reserved field names. You can interact with built-in license fields using the Vendor API v3 and the Replicated SDK API.
30+
31+
### General License Properties
2832

29-
Built-in fields are reserved field names. The table below describes each built-in license field.
33+
The table below describes the general built-in license fields:
3034

3135
<table>
3236
<tr>
33-
<td>License field</td>
34-
<td>Description</td>
37+
<td>License Field</td>
38+
<td>Description</td>
39+
</tr>
40+
<tr>
41+
<td>`app_id`, `appSlug`</td>
42+
<td>The unique application slug that the customer is associated with. This value never changes.</td>
3543
</tr>
3644
<tr>
37-
<td>`appSlug`, `app_id`</td>
38-
<td>The unique application slug that the customer is associated with. This value never changes.</td>
45+
<td>`channel_id`, `channelID`</td>
46+
<td>The ID of the channel where the customer is assigned. When the customer's assigned channel changes, the latest release from that channel will be downloaded on the next update check.</td>
3947
</tr>
4048
<tr>
41-
<td>`channelID`, `channel_id`</td>
42-
<td>The ID of the channel where the customer is assigned. When the customer's assigned channel changes, the latest release from that channel will be downloaded on the next update check.</td>
49+
<td>`channel_name`, `channelName`</td>
50+
<td>The name of the channel where the customer is assigned. When the customer's assigned channel changes, the latest release from that channel will be downloaded on the next update check.</td>
4351
</tr>
4452
<tr>
45-
<td>`channelName`, `channel_name`</td>
46-
<td>The name of the channel where the customer is assigned. When the customer's assigned channel changes, the latest release from that channel will be downloaded on the next update check.</td>
53+
<td>`custom_id`</td>
54+
<td>The custom ID for the customer.</td>
4755
</tr>
4856
<tr>
49-
<td>`name`, `customerName`</td>
50-
<td>The name of the customer.</td>
57+
<td>`customer_id`, `licenseID`</td>
58+
<td>Unique customer identifier. This value never changes.</td>
5159
</tr>
5260
<tr>
53-
<td>`email`</td>
54-
<td>The customer email address.</td>
61+
<td>`email`</td>
62+
<td>The customer email address.</td>
5563
</tr>
5664
<tr>
5765
<td>`endpoint`</td>
58-
<td>(KOTS/kURL/Embedded Cluster Only) The endpoint that the KOTS Admin Console uses to synchronize license and download updates. This is typically `https://replicated.app`.</td>
66+
<td>(Replicated Installers Only) The endpoint that the KOTS Admin Console uses to synchronize license and download updates. This is typically `https://replicated.app`.</td>
5967
</tr>
6068
<tr>
61-
<td>`entitlements`, `entitlementValues`</td>
62-
<td>Includes the `expires_at` field and any custom entitlements for the license. For more information about adding custom license fields, see [Managing Custom License Fields](licenses-adding-custom-fields).</td>
69+
<td>`entitlements`, `entitlementValues`</td>
70+
<td>Includes the `expires_at` field and any custom entitlements for the license. For more information about adding custom license fields, see [Managing Custom License Fields](licenses-adding-custom-fields).</td>
6371
</tr>
6472
<tr>
65-
<td>`expires_at`</td>
66-
<td><p>Defines the expiration date for the license. The date is encoded in ISO 8601 format (`2026-01-23T00:00:00Z`) and is set to midnight UTC on the date selected. If a license does not expire, this field is missing.</p><p>By default, instances with an expired license continue to run. Additionally, instances installed with KOTS that have an expired license do not receive updates. For more information about the default behavior when a license expires, see [License Expiration Handling](licenses-about#expiration) in _About Customers_.</p></td>
73+
<td>`expires_at`</td>
74+
<td><p>Defines the expiration date for the license. The date is encoded in ISO 8601 format (`2026-01-23T00:00:00Z`) and is set to midnight UTC on the date selected. If a license does not expire, this field is missing.</p><p>By default, instances with an expired license continue to run. Additionally, instances installed with KOTS that have an expired license do not receive updates. For more information about the default behavior when a license expires, see [License Expiration Handling](licenses-about#expiration) in _About Customers_.</p></td>
6775
</tr>
6876
<tr>
69-
<td>`expires_in`</td>
70-
<td>Expiration period for the license. For example, `30d`.</td>
77+
<td>`expires_in`</td>
78+
<td><p>Expiration period for the license. For example, `30d`.</p><p>By default, instances with an expired license continue to run. Additionally, instances installed with KOTS that have an expired license do not receive updates. For more information about the default behavior when a license expires, see [License Expiration Handling](licenses-about#expiration) in _About Customers_.</p></td>
7179
</tr>
7280
<tr>
73-
<td>`isAirgapSupported`</td>
74-
<td>(KOTS/kURL/Embedded Cluster Only) If a license supports air gap installations with the Replicated installers, then this field is set to `true`. If Replicated installer air gap installations are not supported, this field is missing. When you enable this field for a license, the `license.yaml` file will have license metadata embedded in it and must be re-downloaded.</td>
81+
<td>`licenseSequence`</td>
82+
<td>Every time a license is updated, its sequence number is incremented. This value represents the license sequence that the client currently has.</td>
7583
</tr>
7684
<tr>
77-
<td>`isGeoaxisSupported`</td>
78-
<td>(kURL Only) If a license supports integration with GeoAxis, this field is set to `true`. If GeoAxis is not supported, this field is either `false` or missing. **Note**: This field requires that the vendor has the GeoAxis entitlement. It also requires that the vendor has access to the Identity Service entitlement.</td>
85+
<td>`name`, `customerName`</td>
86+
<td>The name of the customer.</td>
7987
</tr>
8088
<tr>
81-
<td>`isGitOpsSupported`</td>
82-
<td><GitOpsNotRecommended/> (KOTS Existing Cluster Only) If a license supports the KOTS AutoGitOps workflow in the Admin Console, this field is set to `true`. If Auto-GitOps is not supported, this field is either `false` or missing. See [KOTS Auto-GitOps Workflow](/enterprise/gitops-workflow).</td>
89+
<td>`signature`</td>
90+
<td>The base64-encoded license signature. This value will change when the license is updated.</td>
8391
</tr>
8492
<tr>
85-
<td>`isIdentityServiceSupported`</td>
86-
<td>(KOTS Existing Cluster Only) If a license supports identity-service enablement for the Admin Console, this field is set to `true`. If identity service is not supported, this field is either `false` or missing. **Note**: This field requires that the vendor have access to the Identity Service entitlement.</td>
93+
<td>`type`, `licenseType`</td>
94+
<td>A string value that describes the type of the license, which is one of the following: `paid`, `trial`, `dev`, `single-tenant-vendor-managed` or `community`. For more information about license types, see [Managing License Type](licenses-about-types).</td>
8795
</tr>
96+
</table>
97+
98+
### Install Types
99+
100+
The table below describes the built-in license fields for install type. For more information, see [Managing Install Types for a License](/vendor/licenses-install-types).
101+
102+
<table>
88103
<tr>
89-
<td>`isKotsInstallEnabled`</td>
90-
<td>If a license supports installation with KOTS, this field is set to `true`. If KOTS installations are not supported, this field is either `false` or missing. **Note**: This field requires that the vendor has the KOTS entitlement.</td>
104+
<td>License Field</td>
105+
<td>Description</td>
91106
</tr>
92107
<tr>
93-
<td>`isSemverRequired`</td>
94-
<td>(KOTS/kURL/Embedded Cluster Only) If set to `true`, this field requires that the Admin Console orders releases according to Semantic Versioning. This field is controlled at the channel level. For more information about enabling Semantic Versioning on a channel, see [Semantic Versioning](releases-about#semantic-versioning) in _About Releases_.</td>
108+
<td>`is_embedded_cluster_download_enabled`, `isEmbeddedClusterDownloadEnabled`</td>
109+
<td><p>If a license supports installation with Embedded Cluster, this field is set to `true` or missing. If Embedded Cluster installations are not supported, this field is `false`.</p><p>This field requires that the vendor has the Embedded Cluster entitlement and that the release at the head of the channel includes an [Embedded Cluster Config](/reference/embedded-config) custom resource. This field also requires that the "Install Types" feature is enabled for your Vendor Portal team. Reach out to your Replicated account representative to get access.</p></td>
95110
</tr>
96111
<tr>
97-
<td>`isSnapshotSupported`</td>
98-
<td>(KOTS Existing Cluster Only) If a license supports the snapshots backup and restore feature, this field is set to `true`. If a license does not support snapshots, this field is either missing or `false`. **Note**: This field requires that the vendor have access to the Snapshots entitlement.</td>
112+
<td>`is_helm_install_enabled`, `isHelmInstallEnabled`</td>
113+
<td><p>If a license supports Helm installations, then this field is set to `true` or missing. If Helm installations are not supported, this field is set to `false`. This field requires that the vendor only packages the application as Helm charts and Replicated Custom Resources.</p><p> This field requires that the "Install Types" feature is enabled for your Vendor Portal team. Reach out to your Replicated account representative to get access.</p></td>
99114
</tr>
100115
<tr>
101-
<td>`isSupportBundleUploadSupported`</td>
102-
<td>(KOTS/kURL/Embedded Cluster Only) If a license supports uploading a support bundle in the Admin Console, this field is set to `true`. If a license does not support uploading a support bundle, this field is either missing or `false`.</td>
116+
<td>`is_kots_install_enabled`, `isKotsInstallEnabled`</td>
117+
<td><p>If a license supports installation with KOTS, this field is set to `true`. If KOTS installations are not supported, this field is either `false` or missing.</p><p>This field requires that the vendor has the KOTS entitlement.</p></td>
103118
</tr>
104119
<tr>
105-
<td>`licenseID`, `licenseId`</td>
106-
<td>ID of the installed license. This value never changes.</td>
120+
<td>`is_kurl_install_enabled`, `isKurlInstallEnabled`</td>
121+
<td><p>If a license supports installation with kURL, this field is set to `true` or missing. If kURL installations are not supported, this field is `false`. </p><p>This field requires that the vendor has the kURL entitlement and a promoted kURL installer spec. This field also requires that the "Install Types" feature is enabled for your Vendor Portal team. Reach out to your Replicated account representative to get access.</p></td>
107122
</tr>
123+
</table>
124+
125+
### Additional Install Options
126+
127+
The table below describes the built-in license fields for additional install options:
128+
129+
<table>
130+
<tr>
131+
<td>License Field</td>
132+
<td>Description</td>
133+
</tr>
134+
<tr>
135+
<td>`is_airgap_enabled`, `isAirgapSupported`</td>
136+
<td><p>(Replicated Installers Only) If a license supports air gap installations with the Replicated installers (KOTS/kURL/Embedded Cluster), then this field is set to `true`. If Replicated installer air gap installations are not supported, this field is missing.</p><p>When you enable this field for a license, the `license.yaml` file will have license metadata embedded in it and must be re-downloaded.</p></td>
137+
</tr>
138+
<tr>
139+
<td>`is_helm_airgap_enabled`, `isHelmAirgapEnabled`</td>
140+
<td><p>If a license supports Helm air gap installations, then this field is set to `true` or missing. If Helm air gap is not supported, this field is missing.</p><p> When you enable this feature, the `license.yaml` file will have license metadata embedded in it and must be re-downloaded.</p><p>This field requires that the "Install Types" feature is enabled for your Vendor Portal team. Reach out to your Replicated account representative to get access.</p></td>
141+
</tr>
142+
</table>
143+
144+
### Admin Console Feature Options
145+
146+
The table below describes the built-in license fields for the Admin Console feature options. The Admin Console feature options apply only to licenses that support installation with the Replicated installers (KOTS, kURL, Embedded Cluster).
147+
148+
<table>
108149
<tr>
109-
<td>`licenseSequence`</td>
110-
<td>Every time a license is updated, its sequence number is incremented. This value represents the license sequence that the client currently has.</td>
150+
<td>License Field</td>
151+
<td>Description</td>
152+
</tr>
153+
<tr>
154+
<td>`is_disaster_recovery_supported`</td>
155+
<td>(Embedded Cluster Only) When enabled, Velero will be deployed for backup and restore in Embedded Cluster installations. This option is only applicable for Embedded Cluster installation types. For more information, see [Enabling Disaster Recovery for Embedded Cluster](/vendor/embedded-disaster-recovery).</td>
111156
</tr>
112157
<tr>
113-
<td>`type`, `licenseType`</td>
114-
<td>A string value that describes the type of the license, which is one of the following: `paid`, `trial`, `dev`, `single-tenant-vendor-managed` or `community`. For more information about license types, see [Managing License Type](licenses-about-types).</td>
158+
<td>`is_geoaxis_supported`, `isGeoaxisSupported`</td>
159+
<td>(kURL Only) If a license supports integration with GeoAxis, this field is set to `true`. If GeoAxis is not supported, this field is either `false` or missing. **Note**: This field requires that the vendor has the GeoAxis entitlement. It also requires that the vendor has access to the Identity Service entitlement.</td>
115160
</tr>
116161
<tr>
117-
<td>`signature`</td>
118-
<td>The base64-encoded license signature. This value will change when the license is updated.</td>
162+
<td>`is_gitops_supported`, `isGitOpsSupported`</td>
163+
<td><GitOpsNotRecommended/> (KOTS Existing Cluster Only) If a license supports the KOTS AutoGitOps workflow in the Admin Console, this field is set to `true`. If Auto-GitOps is not supported, this field is either `false` or missing. See [KOTS Auto-GitOps Workflow](/enterprise/gitops-workflow).</td>
119164
</tr>
120165
<tr>
121-
<td>`isHelmAirgapEnabled`</td>
122-
<td>If a license supports Helm air gap installations, then this field is set to `true` or missing. If Helm air gap is not supported, this field is missing. When you enable this feature, the `license.yaml` file will have license metadata embedded in it and must be re-downloaded. This field requires that the "Install Types" feature is enabled for your Vendor Portal team. Reach out to your Replicated account representative to get access.</td>
166+
<td>`is_identity_service_supported`, `isIdentityServiceSupported`</td>
167+
<td>(KOTS Existing Cluster Only) If a license supports identity-service enablement for the Admin Console, this field is set to `true`. If identity service is not supported, this field is either `false` or missing. **Note**: This field requires that the vendor have access to the Identity Service entitlement.</td>
123168
</tr>
124169
<tr>
125-
<td>`isHelmInstallEnabled`</td>
126-
<td>If a license supports Helm installations, then this field is set to `true` or missing. If Helm installations are not supported, this field is set to `false`. This field requires that the vendor only packages the application as Helm charts and Replicated Custom Resources. This field requires that the "Install Types" feature is enabled for your Vendor Portal team. Reach out to your Replicated account representative to get access.</td>
170+
<td>`isSemverRequired`</td>
171+
<td>(Replicated Installers Only) If set to `true`, this field requires that the Admin Console orders releases according to Semantic Versioning. This field is controlled at the channel level. For more information about enabling Semantic Versioning on a channel, see [Semantic Versioning](releases-about#semantic-versioning) in _About Releases_.</td>
127172
</tr>
128173
<tr>
129-
<td>`isKurlInstallEnabled`</td>
130-
<td>If a license supports installation with kURL, this field is set to `true` or missing. If kURL installations are not supported, this field is `false`. This field requires that the vendor has the kURL entitlement and a promoted kURL installer spec. This field also requires that the "Install Types" feature is enabled for your Vendor Portal team. Reach out to your Replicated account representative to get access.</td>
174+
<td>`is_snapshot_supported`, `isSnapshotSupported`</td>
175+
<td>(KOTS Existing Cluster Only) If a license supports the snapshots backup and restore feature, this field is set to `true`. If a license does not support snapshots, this field is either missing or `false`. **Note**: This field requires that the vendor have access to the Snapshots entitlement.</td>
131176
</tr>
132177
<tr>
133-
<td>`isEmbeddedClusterDownloadEnabled`</td>
134-
<td>If a license supports installation with Embedded Cluster, this field is set to `true` or missing. If Embedded Cluster installations are not supported, this field is `false`. This field requires that the vendor has the Embedded Cluster entitlement and that the release at the head of the channel includes an [Embedded Cluster Config](/reference/embedded-config) custom resource. This field also requires that the "Install Types" feature is enabled for your Vendor Portal team. Reach out to your Replicated account representative to get access.</td>
178+
<td>`is_support_bundle_upload_enabled`, `isSupportBundleUploadSupported`</td>
179+
<td>(Replicated Installers Only) If a license supports uploading a support bundle in the Admin Console, this field is set to `true`. If a license does not support uploading a support bundle, this field is either missing or `false`.</td>
135180
</tr>
136181
</table>

0 commit comments

Comments
 (0)