A collection of server secrets defined in dedicated server configuration.

Hierarchy

  • ServerSecrets

Constructors

Properties

Methods

Constructors

Properties

names: string[]

Remarks

A list of available, configured server secrets.

Methods

  • Parameters

    • name: string

    Returns undefined | SecretString

    Remarks

    Returns a SecretString that is a placeholder for a secret configured in a JSON file. In certain objects, like an HttpHeader, this Secret is resolved at the time of execution but is not made available to the script environment.

    This function can't be called in read-only mode.