code: def env(ctx, key):
      """Print information about the Rasterio environment."""
      with ctx.obj["env"] as env:
          if key == "credentials":
              click.echo(json.dumps(env.session.credentials))
          elif key == "gdal_data":
              click.echo(
                  os.environ.get("GDAL_DATA")
                  or GDALDataFinder().search()
              )
          elif key == "proj_data":
              click.echo(
                  os.environ.get(
                      "PROJ_DATA", os.environ.get("PROJ_LIB")
                  )
                  or PROJDataFinder().search()
              )
          else:
              for k, v in sorted(env.drivers().items()):
                  click.echo("{0}: {1}".format(k, v))
  
imports: import json
  import os
  import click
  from rasterio._env import GDALDataFinder, PROJDataFinder
label_desc: Use image node_id 1 for calling a global function with example usage: env(ctx, key) without return types