I haven’t tested this out personally, but you could encode the secret in base64 before setting it. Then in your application, decode it back into the JSON string.
EDIT: I see this was also suggested by @ignoramous in another thread.
I haven’t tested this out personally, but you could encode the secret in base64 before setting it. Then in your application, decode it back into the JSON string.
EDIT: I see this was also suggested by @ignoramous in another thread.