# Update Inforiver License Key

### Methods to Update your Inforiver License Key in Azure

1. Direct Update in Azure App Service
2. Update via Azure Key Vault

The steps for both these methods are explained below:

### 1. Direct Update in App Service Environment Variables

1. Select the Inforiver app.
2. In the left-side menu, click **Environment variables** under the **Settings** menu.

<figure><img src="/files/hyGiXgh1wO8uWQa3eFTz" alt=""><figcaption><p>Environment variables</p></figcaption></figure>

3. Under **Application Settings**, select 'BOOTSTRAP\_ON\_PREMISE\_WORKSPACE\_LICENSE'. Enter the license key in the value field.

<figure><img src="/files/dk7UOYeECnafS96SCLcl" alt=""><figcaption><p>Edit Application Settings</p></figcaption></figure>

4. Click **OK** to save the changes. This updates your Inforiver license key.

<figure><img src="/files/sng8AABaraph05vfSGTG" alt=""><figcaption><p>Update License Key</p></figcaption></figure>

### 2. Update License Key in Azure Key Vault

#### Prerequisites

**Azure Roles:**

* You must have the **Key Vault Administrator** role for **the key vault** to add the new license key.
* You must have the **Contributor** role for **the key vault** to change the network settings of the key vault.
* You must have the **Contributor** role for **the App Service** to restart the App Service.

#### Step 1: Turn on Public Access to Key Vault (Temporary)

1. Go to the Azure Portal.
2. Navigate to your Key Vault.
3. In the left pane, select **Networking** in the **Settings** section.

<figure><img src="/files/1ueTZCKKlqSaQJxVIBua" alt=""><figcaption><p>Select 'Networking'</p></figcaption></figure>

4. Under **Firewalls and virtual networks**, switch from 'Disable public access' to '**Allow public access from specific virtual networks and IP addresses'**.

<figure><img src="/files/r26XjBrSeRzuM4isQQW4" alt=""><figcaption><p>Allow public access from specific networks and IP addresses</p></figcaption></figure>

5. Click on **Add your client IP address.**

<figure><img src="/files/2C9wuZs7ztfJpUJfi0sU" alt=""><figcaption><p>Adding your client IP address</p></figcaption></figure>

6. Open a browser and search “What is my IP” to get your IP address.

<figure><img src="/files/tE7VsJjmRM60QzwOD6Tq" alt=""><figcaption><p>Get your IP address</p></figcaption></figure>

7. Copy the IP address and enter the value into the '**IP address or CIDR**' block.

<figure><img src="/files/w6VFbgjjr1otPbQOZERt" alt=""><figcaption><p>Enter IP address</p></figcaption></figure>

8. Click **Apply.**

<figure><img src="/files/pk6ef5Iz5CKpxVZvFMN4" alt=""><figcaption><p>Click 'Apply'</p></figcaption></figure>

#### Step 2: Update the License Key in Azure Key Vault

1. Go to the **Secrets** section under the **Objects** menu in the Key Vault.

<figure><img src="/files/bvcj1ACAPi974rpb4Pgf" alt=""><figcaption><p>Go to 'Secrets' section</p></figcaption></figure>

2. Click on **workspaceLicense**.

<figure><img src="/files/r4GSGnW3TlMIRBBnOVXt" alt=""><figcaption><p>click 'workspaceLicense'</p></figcaption></figure>

3. Click on **+New Version**.

<figure><img src="/files/KNiIett3oOWpcaTf8CKZ" alt=""><figcaption><p>Adding new version</p></figcaption></figure>

4. Enter your license key in the 'Secret value' field and click **Create**.

<figure><img src="/files/mHt8RqGiaSnIkkyme8lL" alt=""><figcaption><p>Enter the value</p></figcaption></figure>

#### Step 3: Ensure App Service Picks Up the New Secret

1. Go to the **Environment variables** section in the App Service.

<figure><img src="/files/4DlEUjYpuHiQjdPRmpLd" alt=""><figcaption><p>Go to 'Environment variables'</p></figcaption></figure>

2. Click on **Pull reference values** to pull the latest values from the key vault secret.

<figure><img src="/files/IoRPzoNus3j814vVEl3b" alt=""><figcaption><p>Pull reference values</p></figcaption></figure>

3. Click **Confirm**.

<figure><img src="/files/qwD3cJ0ZyUoxJktHJrg7" alt=""><figcaption><p>Confirm</p></figcaption></figure>

#### Step 4: Revert the Key Vault to Private Access.

Go back to Key Vault’s **Networking** section, select **Disable public access**, and then click **Apply**.&#x20;

<figure><img src="/files/wZSW9dKfB08vERV02Tjw" alt=""><figcaption><p>Disable public access</p></figcaption></figure>

{% hint style="info" %}
Note: It may take a few minutes to replicate the secrets from the Key Vault. If this does not happen immediately, we recommend restarting your app service.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inforiver.com/inforiver-enterprise-on-prem/how-to-guides/update-inforiver-license-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
