`Secret.toString()` is deprecated. Please check the code of Secret class.