I'm accessing the Coinbase PRO API and it needs three things, the API public key, the API secret, and the API password. I am able to successfully save the key and password because they are only strings with alphabetic characters. However, the API secret is something like this: "uoahdsgoaogdso==" It appears that the equals signs at the end are preventing the system from recognizing the variable.
In python I use the following command to print each environment variable (replacing key with each parameter above):
print(os.getenv('key'))
When I run the above, I can successfully print the public key and password but when I attempt to print the API secret, it gives me an empty string. Any thoughts on why it won't save a string which contains ==
Another note, I am using the Ubuntu, the linux subsystem for windows