Customize

Define Password by Gusuku Environment

Summary

Define secret values that are determined according to the gusuku environment such as the development environment and production environment. The value is stored encrypted.

How to use

Using gusuku Deploit, you can manage apps by separating spaces and domains for each “environment” such as “development environment” and “production environment.” In Customine, you can run a single customization in different “environments” of the same app.

It is convenient for a customization to run the same way in different environments, but on the other hand, there are cases where “some configuration values want to be changed according to the environment.” For example, there are cases where you want to separate the access keys set for “Set AWS Access Key” between the development environment and the production environment. In “Set AWS Access Key”, the “Secret Access Key” is encrypted. By using “Define Password by Gusuku Environment”, you can have these encrypted parameters take different values depending on the environment.

When you execute the action set to “Define Password by Gusuku Environment”, the value is selected based on which gusuku environment the running Kintone app belongs to, and that value becomes the result of the action. However, since that value is encrypted, you cannot obtain the original password value by referencing it with $1 in other actions.

Using encrypted parameters, such as “Secret Access Key” in “Set AWS Access Key,” you can reference the value of “Define Password by Gusuku Environment” with a notation like “= $1.” If the encrypted parameter can refer to “Define Password by Gusuku Environment,” a button labeled “Define Password by Gusuku Environment” will be displayed in the parameter input dialog, allowing you to select the action to “Define Password by Gusuku Environment.”

In standard Customine customization that is not integrated with Deploit, there is only one environment. In that case, executing “Define Password by Gusuku Environment” will not result in an error, but it will always return the value of that one environment, so there is no need to use “Define Password by Gusuku Environment.”

Parameters

Set Value by Environment.

Value by Environment

The environment name of gusuku is displayed on the left side of the list, enter the corresponding value on the right side.

It is possible to empty the value for some environments, but it is not possible to empty everything.

This parameter does not allow the use of expressions.

Restrictions

  • You cannot use the expression in “Value by Environment.”
  • Portal customization is not supported.