ProtectedString
Secrets should never show up in logs or stack traces. Protected strings are a lightweight wrapper around sensitive strings that improves safety without complicating your code.
This is not cryptographic memory protection. The underlying string remains in JVM heap memory and is not zeroed after use.
Types
Link copied to clipboard
You must opt in to create protected strings or access their values.