diff --git a/cms/envs/aws.py b/cms/envs/aws.py index dbade8bba5..a6d6e2f847 100644 --- a/cms/envs/aws.py +++ b/cms/envs/aws.py @@ -113,6 +113,7 @@ for feature, value in ENV_TOKENS.get('MITX_FEATURES', {}).items(): MITX_FEATURES[feature] = value # If Segment.io key specified, load it and turn on Segment.io if the feature flag is set +# Note that this is the Studio key. There is a separate key for the LMS. SEGMENT_IO_KEY = AUTH_TOKENS.get('SEGMENT_IO_KEY') if SEGMENT_IO_KEY: MITX_FEATURES['SEGMENT_IO'] = ENV_TOKENS.get('SEGMENT_IO', False) diff --git a/cms/envs/dev.py b/cms/envs/dev.py index 9de42656c6..e254869bd6 100644 --- a/cms/envs/dev.py +++ b/cms/envs/dev.py @@ -165,7 +165,8 @@ MITX_FEATURES['ENABLE_SERVICE_STATUS'] = True ############################# SEGMENT-IO ################################## -# If there's an environment variable set, grab it and turn on segment io +# If there's an environment variable set, grab it and turn on Segment.io +# Note that this is the Studio key. There is a separate key for the LMS. SEGMENT_IO_KEY = os.environ.get('SEGMENT_IO_KEY') if SEGMENT_IO_KEY: MITX_FEATURES['SEGMENT_IO'] = True diff --git a/lms/envs/aws.py b/lms/envs/aws.py index b9d3f58e8f..c8c49c2b1e 100644 --- a/lms/envs/aws.py +++ b/lms/envs/aws.py @@ -179,7 +179,7 @@ with open(ENV_ROOT / CONFIG_PREFIX + "auth.json") as auth_file: AUTH_TOKENS = json.load(auth_file) ############### Mixed Related(Secure/Not-Secure) Items ########## -# If segment.io key specified, load it and turn on segment IO if the feature flag is set +# If Segment.io key specified, load it and enable Segment.io if the feature flag is set SEGMENT_IO_LMS_KEY = AUTH_TOKENS.get('SEGMENT_IO_LMS_KEY') if SEGMENT_IO_LMS_KEY: MITX_FEATURES['SEGMENT_IO_LMS'] = ENV_TOKENS.get('SEGMENT_IO_LMS', False)