Skip to main content

lightyear.definewebhookprops.secrets

Home > @runlightyear/lightyear > DefineWebhookProps > secrets

DefineWebhookProps.secrets property

An array of the secrets on this webhook.

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>;