Start typing to search...
Docs
Enabling customizations
Secret
Search

Secret (deprecated)

  • A template can store sensitive data in a VCC without the value being visible when the project is remixed. The value is visible only in your project and no others.

  • Composed by using any base VCC.

Important
A string value for the VCC must be set in the JSON file to use as the key for the secret VCC.

To resolve secret VCC values, use the Keystore module in the @withkoji/vcc package.

Sample Secret VCC

{
  "images": {
    "premium_image": "secretImage",
  },
  "@@editor": [
    {
      "key": "images",
      "name": "Images",
      "icon": "🤫",
      "source": "images.json",
      "fields": [
        {
          "key": "premium_image",
          "name": "Premium Image",
          "description": "My premium image",
          "type": "secret<image>"
        }
      ]
    }
  ]
}