switch to using environment variables to get key for Segment.io