A string value that is obfuscated in all string representations to prevent accidental secret leakage in logs, serialization, and debugging output.
Use Secret.value for intentional access to the underlying value.
The underlying secret string.
Returns the underlying secret value.
Returns the obfuscated placeholder when serialized to JSON.
Returns the obfuscated placeholder instead of the secret.
A string value that is obfuscated in all string representations to prevent accidental secret leakage in logs, serialization, and debugging output.
Use Secret.value for intentional access to the underlying value.