Skip to main content

github.githublistenerprops.secrets

Home > @runlightyear/github > GitHubListenerProps > secrets

GitHubListenerProps.secrets property

An array of the secrets on this listener.

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