Skip to content

[F] $secret

function $secret(context, target): void

Mark a string as a secret value that should be treated carefully to avoid exposure

Parameters

ParameterTypeDescription
contextDecoratorContextDecorator context
targetModelProperty | ScalarDecorator target, either a string model or a property with type string.

Returns

void