As a follow up to #583, we should investigate if there is a way to detect that the client is in a Google Compute Engine environment or not. If there is, we should update _create_composite_credentials
to only use grpc.compute_engine_channel_credentials
in a compute engine environment.