This JSON file is used to define user related preferences to Qinertia CLI.

Introduction

Qinertia GUI associates user preferences with the user's MySBG account. These preferences may include various settings, such as credentials for CORS providers like SmartNet.

When Qinertia CLI is used with user credentials, it automatically fetches and applies these preferences.

However, when using Qinertia CLI with API keys, user-specific preferences are not available. This is because an API Key is linked to an organization within MySBG, not to an individual user account.

To address this, a profile skeleton JSON file can be used to explicitly define 'user' preferences to Qinertia CLI.

For instance, this file can be utilized to input credentials for paid CORS providers such as SmartNet.

Generate a template file

The Qinertia CLI includes a profile-skeleton command. This command exports the current user profile settings into a template JSON file:

qinertia-cli profile-skeleton

If you have modified settings in the Qinertia GUI, such as disabling a CORS provider or entering specific credentials, these changes will be reflected in the exported template file.

This template file allows you to easily modify these settings and use them with Qinertia CLI.

CORS credentials

For security reasons, any password entered will be substituted with 'XXXX' in the generated template JSON file. Remember to replace this placeholder with the actual password when configuring it for use with the Qinertia CLI.

Example

Please find below an example that defines CORS providers credentials for Japan GSI and SmartNet.

{
  "version":"1.0.0.0",
  "providers":[
    {
      "id":"{638c626c-ee60-4420-bbaa-882946dde44d}",
      "name":"GSI",
      "enabled":true,
      "credentials":{
        "login":"jean",
        "password":"01234"
      }
    },
    {
      "id":"{6377e6a6-8cff-47d9-a56a-c89e85ebb425}",
      "name":"SmartNetGermany",
      "enabled":true,
      "credentials":{
        "login":"jean",
        "password":"01234"
      }
    },
    {
      "id":"{bc2a1b87-44c7-42a6-96e2-ce9211cb7479}",
      "name":"SmartNetFrance",
      "enabled":true,
      "credentials":{
        "login":"jean",
        "password":"01234"
      }
    }
  ]
}
JS