You can actually just cast to a text data item from a password datatype while you're in debug mode in Process Studio. Just use a calc stage after getting the credential.
This is very bad to do for anything you're building for production. So, let's be clear, I only advocated doing this to get a password that you are allowed to know.
😃
Dave Morris, 3Ci at Southern Company