Skip to main content

Environment

Library of functions to access environment properties.

Functions

Scopes

Returns the scopes for the current user.

Syntax:
Environment.Scopes()
Example:
Environment.Scopes()"

Secret

Returns the value of a secret registered in the credentials service.

Syntax:
Environment.Secret(secretName: string)
Parameters
  • secretName: Name of the secret.
Example:
Environment.Secret("my-secret-credential") // secret value"