Mask Strategy
Defines how a Secret-annotated field value is masked when displayed in logs or debug output.
Each strategy offers a different balance between security and debuggability:
FULL hides the entire value, suitable for highly sensitive data.
PARTIAL reveals a prefix, useful for identifying which key or token is in use.
EDGES reveals the first and last characters, helpful for quick visual verification.
Since
1.0
See also
Entries
Reveals the first Secret.visibleChars characters and masks the rest: "superSecret123" becomes "supe********".
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.