I'm having some trouble accessing my secrets in a Python script and don't know if I need to do anything in my Pipeline YAML file? I've seen conflicting advice on this.
Specifically: If I save a BitBucket repository secret value called MY_SECRET by going to Repository settings > [under the Pipelines section] Repository Variables, do I need to add anything in my Pipeline YAML file in order to access the value of MY_SECRET in a Python script? Or is os.getenv('MY_SECRET') in my Python script enough to access that value?