Using ConfigStore


ConfigStore provides way to store, track, manage and share configuration data in a centralised, version-controlled repository. Each ConfigStore record contains Key, Value, and Metadata information that can be shared across all of your applications.

Some of the advantages of using ConfigStore are:

You can use ConfigStore with any Cloud 66 application. One example of a use case might be a centralised place to store different webhooks per environment for a monitoring service like New Relic or Scout, or API parameters for a push notification service like OneSignal or Amazon SES.

ConfigStore vs environment variables

When you add environment variables to your application they become Linux operating system environment variables.

ConfigStore provides an alternative place to store centralised information that will not be exposed in OS level environment variables.

This is particularly useful for information that you need to access from Kubernetes configuration files (for example within Skycap Stencil Templates) which may not have direct access to the underlying operating system.

ConfigStore Data Structure

Data edited in ConfigStore via the Dashboard is text only and is structured as:

Levels of ConfigStore

There are two levels of ConfigStore:


To access ConfigStore for a particular application:

  1. Open the application overview page from your Dashboard
  2. Click on Configuration in the Application panel on the right of the screen
  3. Click on the ConfigStore tab at the top of the main panel

This page provides a way to store information where the scope is limited to a specific application. Variables stored in this repository will not automatically be available to any other application in your account. This is useful for storing variables that are either very application-specific or where the risk of sharing outweighs the benefits of centralisation.


To access your account-wide ConfigStore:

  1. Open your Dashboard
  2. Click on your account avatar (top-right) and select Account Settings
  3. Click on ConfigStore in the Account panel on the left

This provides a way to store config information globally that can be referenced by all of your applications. This is useful for sharing common variables and variable patterns across all of your applications.

This approach requires some additional care and planning to prevent unintended consequences, such as applications connecting to incorrect resources or cloud services and creating confusion or dirty data.

ConfigStore metadata

The Metadata field in ConfigStore is intended to store useful reminders about the nature of the configuration variable being stored. This can include:

…and essentially anything else that might be useful to know about any configuration variable.


Every ConfigStore has its own unique namespace in the form of a 36-character GUID. This includes both account level and application level ConfigStores.

You can find the namespace:

This namespace can be used to reference a particular ConfigStore, either via the API or using placeholders in configuration templates (see below).

Accessing ConfigStore Variables

You access ConfigStore data by using the following syntax:

Skycap Stencils

The basic syntax for Stencil placeholders is:

value: ${configstore("key")}

If you need to pull a value from the ConfigStore for a specific application the syntax is:

value: ${configstore("key", application["configstore_namespace"])}

To fetch a value from the account-level ConfigStore, use the following syntax:

value: ${configstore("key", account["configstore_namespace"])}

Environment Variables

To load values from ConfigStore as environment variables in any application, open the Environment Variables page via your Dashboard and use the following format as the value for any key:


Service.yml placeholder

The following syntax must be used for service.yml :

  - ABC: _env(XYZ)

This will define XYZ as an environment variable for the given service, which pulls ABC from the Application which in turn could come from the ConfigStore.