How to add a reporting token to a Container

08/11/2018 Stuart Moore   ID: 316401

Containers require a reporting token to report usage events to https://containers.cloudhouse.com. 

  1. If you dont have an HTTPS Reporting token for your customer already, one can be requested from support@cloudhouse.com.
  2. You will receive your HTTPS Usage Reporting token via secure email, open the link in the email and provide your email address to download the file.
  3. The token file is a text file, named usage-customername.token, and formatted using JSON so that you view the contents of the file in a text editor. If the editor supports JSON then formatting will applied.
  4. {
       "token": "fcXGUm4lShjhkwe0hqObSL7UhuZdmDBpzJDeoPwDbOOb",
       "clientid": "7t6oVmPlvtrtrp2rOCg4QgSryVbTB1Vd",
       "deviceid": "containerapi-090665018",
       "description": "Usage token is allocated to %Partner% to report Container usage on behalf of %Customer%."
    }
  5. Once you have created the Container, copy the .token file into the Container's root folder OR use the Container Editor - refer to Updating, Editing and Maintaining Containers‍.
  6. Check that chmetadata.json contains the following entries, if not add them.
  7. "AuthUrl": "https://auth.cloudhouse.com/oauth/token",
    "UsageReportingUrl": "https://containers.cloudhouse.com/api/UsageEvents"
  8. The token will be encrypted when the Container is deployed, the extension will change to .stoken and HTTPS reporting will be used to send usage data to Cloudhouse.



Applies To

Container version must be 4.5.249.480, or later.

Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support