Please do not reply with how/why it's a bad idea to embed password. I know all about them and I've already reviewed this post What's the most secure way to embed a password inside Java code? which did not provide an answer for me.
On to my issue.
I'm using SQL App Role in my program. So end users do not know what the rolename and password are, since it doesn't apply to them and it's actually a security risk if they found out what the rolename and password are.
I considered storing the role/pw in a secure remote server. But then I would have to give user permission to access the pw. Encrypting and storing the pw in a configuration file doesn't work since the decryption routine would be in the code.
Basically everything I could think of can only obscure but not secure the password.