Skip to main content

Secrets

  • You can register secrets such as credentials and use them in the corresponding nodes as environment variables.
  • In the current version, secrets are registered for each tenant.

Registering Secrets

  • Select a project and access the Canvas.
  • Click the + button on the right side of Secrets to register the secret name and information through the dialog that appears.
  • For example, if you register OPEN_AI_ORGID and OPEN_AI_API_KEY as secrets, they will be displayed as follows.

Utilizing Secrets

  • You can use the secrets by entering ${{SECRET.<SECRET_NAME>}} in the Value of the environment variables that can be set from SideApp or Function.
  • The registered secrets will become OS-level environment variables. To use them in functions, injections, etc., you can execute import os in a Python script just like in general development, and retrieve the environment variable using os.getenv("key").
  • For example, if you configure the registered secrets OPEN_AI_ORGID and OPEN_AI_API_KEY to be used as environment variables, they will be displayed as below.
  • Note: Be cautious when using secrets without specifying values as environment variables. In this case, the environment variable will be empty.