Skip to main content

Secret

Overview

Retrieves a workspace secret for use in a tree

Details

Secrets are intended to protect sensitive information. They are stored encrypted and only accessible to the workspace that owns them.

They are a way of ensuring that:

  • Your passwords and sensitive information are kept separate from your Logix, Template and Trigger files.
  • Your environments can have different values so you can work against different systems per environment.

⚠️ Secrets are intended to protect sensitive information. However, they can be exposed if you place them in a Data Structure and convert it to a text output such as JSON.
Do so at your own risk.

Returns
Secret

Parameters

ParameterParameterValid BlocksRequired
Use Dynamic NameShow the Dynamic Name slot in the tree so that it can be set dynamicallyBoolean Block GroupNo
Dynamic NameThe dynamic name of this itemText Block GroupNo
AttributesMetadata values for this block. Used in XML and multipart/form-data.Text Block GroupNo
Secret NameThe name of the secret to loadText Block GroupNo
Is RequiredDetermines whether or not the parameter is requiredBoolean Block GroupNo
Input Parameter SourceSource of the parameterText Block GroupNo
Is NullIf true, this block's value will be nullBoolean Block GroupNo