Skip to main content

lightyear.setsecret

Home > @runlightyear/lightyear > setSecret

setSecret() function

Set a secret on the current action or webhook.

Signature:

declare function setSecret(name: string, value: string | null): Promise<Response>;

Parameters

Parameter

Type

Description

name

string

value

string | null

Returns:

Promise<Response>