You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: licensing/add-license-to-ci-cd.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,8 +36,24 @@ The recommended approach for providing your license key to the `Telerik.Licensin
36
36
37
37
### Azure Pipelines (Classic)
38
38
39
-
1. Create a new [user-defined variable](https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=classic%2Cbatch) named `TELERIK_LICENSE`.
39
+
In Classic Pipelines, the user-defined variables can only hold up t0 4k characters. This is too small for the full key, as an alternative there are two more popular options.
40
+
41
+
#### Option 1. Azure KeyVault Linked Variable
42
+
43
+
1. In Azure Key Vault, create a new variable named `TELERIK_LICENSE`
40
44
1. Paste the contents of the license key file as a value.
45
+
1. In the classic pipeline, use the linked variable
46
+
47
+
#### Option 2. Secure File
48
+
49
+
1. Upload your telerik-license.txt file as a Secure File in your AzDO project. See [Secure Files](https://learn.microsoft.com/en-us/azure/devops/pipelines/library/secure-files?view=azure-devops) for instructions.
50
+
1. In the pipeline, use the Download Secure File task
51
+
1. Important: Set the Output Variables reference name, otherwise you cannot reference it in a later step.
For a walkthrough example and more details, see [DevOps Examples - Telerik License with Secure File in Classic Pipeline](https://github.com/LanceMcCarthy/DevOpsExamples?tab=readme-ov-file#classic-pipeline)
0 commit comments