lightyear.defineactionprops.secrets
Home > @runlightyear/lightyear > DefineActionProps > secrets
DefineActionProps.secrets property
An array of the secrets on this action.
Secrets are like variables, but they are stored more securely in the database and they are redacted in the console logs.
Secrets are required to have a value by default. If you append a "?" to the end of the name, the secret will be optional. For example:
["requiredSecret", "optionalSecret?"]
Signature:secrets?: Array<SecretDef>;