I have defined a global bamboo secret variable and I am using it inside my python script like this:
my_var = os.environ['bamboo.my_environment_secret']
It's returning None.
I have defined a global variable named my_environment_secret in Bamboo. The way this script is executed, I can't pass any parameters from command line. So it has to be accessed directly inside the script.