Get Free Trial

flexmonster license key from azure key vault

Nil asked on November 19, 2021

Hi  Team,
We want to load our staging flexmonster license key from azure key vault for angular app, can we have inbuild integration for the same ? or any approach do want to suggest here 

1 answer

Nadia Khodakivska Nadia Khodakivska Flexmonster 7 days ago

Hello, Nil,
Thank you for contacting us.
Kindly note that Flexmonster does not provide integration with Azure Key Vault. License key is just a string value and can be set using one of the following approaches:

  • You can place the needed license key on the server and set it using URL:
<fm-pivot #pivot





  • Alternatively, you can set a license key through the function that will return the necessary string. First, in `app.component.ts`, define a function for getting the needed license key, for example:
    getLicenseKey(): string {
    var licenseKeys = {
    "": "XXX",
    "": "ZZZ",
    "localhost": "Z7RG-XBHG4D-0H1017-46003U"
    var hostname = window.location.hostname;
    return licenseKeys[hostname];

    Then, in app.component.html, assign the function (in our case, getLicenseKey()) to the licenseKey property:


We hope it helps. You are welcome to write to us in case further questions arise.
Kind regards,

Please login or Register to Submit Answer