Using the Parameter Store

Below is a high-level workflow for using AWS Systems Manager Parameter Store with your Flogo app.

Before you begin This document assumes that you have an AWS account, have access to the AWS Systems Manager, and know how to use the AWS Systems Manager Parameter Store. Refer to the AWS documentation for the information on the AWS Systems Manager Parameter Store.

Overview

To use the Parameter Store to override app properties set in Flogo Enterprise:

  1. Build an app binary that has the app properties already configured in Flogo Enterprise. For more information on building an app binary, see Building the App.
  2. Configure the app properties that you want to override in the Parameter Store. At runtime, the app fetches these values from the Parameter Store and uses them to replace the default values that were set in the app.
  3. Set the FLOGO_APP_PROPS_AWS environment variable to set the Parameter Store connection parameters from the command line.

    When you run the command for setting the FLOGO_APP_PROPS_AWS environment variable, it runs your app, connects to the Parameter Store, and fetches the overridden values for the app properties from the Parameter Store. Only the values for properties that were configured in the Parameter Store are overridden. The remaining app properties get their values from the Application Properties dialog.

See the Setting the Parameter Store Connection Parameters and Parameter Store Connection Parameters sections for details.