support key in env var