getSecret

open override fun getSecret(name: String): String?(source)

Retrieves a secret value by its name from the specified environment variable.

Return

the value of the environment variable as a String, or null if the variable is not found.

Parameters

name

the name of the environment variable to retrieve.