The GLOBUS_SDK_ENVIRONMENT variable is a client-side configuration used to direct calls at one of our pre-production environments. It’s mostly there for our own internal globus development use cases as we don’t provide access (for the most part) to those pre-production environments to customers. Those environments act as staging areas where we can deploy code changes & verify service/integration integrity prior to releasing them more broadly to our production stacks.
By and large most customers shouldn’t need to think about this variable, it’s primarily there to allow the development teams within globus to test our client & server code changes more easily.
The GLOBUS_PROFILE variable is a feature of the CLI for users who have multiple identities they’d like to use (eg. a UChicago Identity & an Argonne Identity) but can’t or don’t want to link those identities together in Globus Auth. It provides a lever to maintain different identity contexts locally logged into the same command line & switch between them at will.
This one can be set to anything as it’s just a conventional name for you to name your own different identity profiles locally.