Skip to main content

Secret

A secret is a scalar whose value cannot be printed or logged, it only really is useful when used with the Secret Service where secrets can be stored and then retrieved by scripts or workflows. Usually secrets are used to store passwords and database connection information etc.

Construction

You can construct a secret using one of the constructor functions:

// Create a new secret
sec = Secret("password!")

If you try to print a secret, you just see the following:

`********`

Properties

NameDescriptionType
idThe name of the secretScalar(String)
descriptionThe description of the secretScalar(String)