docs
  1. Storefront Hosting
  2. Configuration Management
  3. Environment Variables

Environment Variables

Overview

In Storefront Hosting, environment variables are key for securely managing your Storefront Application's configuration. They act as dynamic placeholders for sensitive details like API keys, tokens or host information, allowing you to easily adjust settings for different environments without changing your application's code. Notably, some come pre-defined if you select "Initialize Env. variables" during the initial repository connection, streamlining your setup. This ensures your application runs securely and flexibly within our platform.

The "Environment Variables" section, located within "Settings," contains all the environment variables for a particular environment. It provides core functionalities, allowing you to create (1), edit (2), and remove (3) these variables.

Environment Variables

If you select the "Initialize Environment Variables" option during your initial repository setup, as described in Getting Started, this section will already be pre-populated with environment variables for the environment that SCAYLE generates as part of the same creation process.


Create an Environment Variable

If you decide to create an environment variable for a specific need, simply click the "Create New" button and fill out the required fields. You also have the option to create multiple variables within the same creation process.

Creating Environment Variables

Environment Variables Limits

  • A maximum of 200 environment variables can be created per environment.

Wish to increase the limit? Please contact your SCAYLE Account Manager for support.

If you create or update at least one environment variable, the change will only take effect upon redeploying your Storefront Application. To do so, simply click "Deploy" in the banner that appears and follow the regular deployment process as described in the "Deployment in Progress" section.

Redeployment Banner