Use Environment Variables in properties File

Are you referring to the APM Server config file or one of the agents?