Hello!
I have a problem! When using Windows and “file” to get the API Key I have no issues and everything works as expected. When using RHEL the Authentication Failes as the API Key is “wrong” … when setting the API Key as a Variable it works as expected … can someone help or knows why it is like this??? (If I get the file contents with a output I get exactly the API Key … the contents of the file is 100% correct)
Hi @maxb
Thank you for your suggestion. I tried a bit around and actually found out that when i do “file” and encode the output in base64 I’m missing a “=” in the end. I tried with different LF in both Windows and RHEL but again no difference in Windows it is correct with CRLF and LF. In RHEL it is not working in both scenario
See the output:
From Windows machine (same output no matter if CRLF/LF) [CORRECT AND WORKING]