Skip to main content

Configs & Secrets

Cloud has the newest features. Some may not be in a release yet; the newest release is Integration 5.1.0.

For values that aren't Ballerina configurables, such as environment variables or files your integration reads directly from its container, each integration has its own Configs & secrets page, at Operate > Configs & secrets. Unlike Ballerina configurables, these aren't shared across integrations — every integration manages its own set.

Add a configuration​

  1. Open your integration, go to Operate > Configs & secrets, and click Create.

    Configs and secrets page for an integration, with no configurations added yet

  2. Choose a type:

    TypeDescription
    Environment variablesKey-value pairs your integration reads as environment variables.
    File mountA file, such as a certificate or a config file, placed in the container at a path you choose.
  3. Optional: Turn on Store as a secret to encrypt the values. A secret can't be viewed again after it's saved, and this setting can't be changed later.

  4. Enter a Group name. This can't be changed later.

  5. Add the variables (or, for a file mount, the file name, mount directory, and content), then click Add variables (or Add file).

    Add a configuration form with an environment variable entered and Store as a secret turned on

Saving restarts the integration to apply the changes.

Configs and secrets page listing a saved configuration group

Edit a configuration​

  1. On the Configs & secrets page, click the edit icon next to the configuration you want to change.

  2. Update the variables or file content as needed. For a secret, every value shows as hidden — leave a field blank to keep its current value, or type a new one to replace it.

    Edit environment variables form with a secret value hidden behind placeholder dots

  3. Click Save changes.

The integration restarts to apply the changes.

What's next​

Was this page helpful?