Get an environment

Gets the profile for an environment.