code: def clear_credentials():
      
      global identity, regions, services, cloudservers, cloudfiles, cloud_cdn
      global cloud_loadbalancers, cloud_databases, cloud_blockstorage, cloud_dns
      global cloud_networks, cloud_monitoring, autoscale, images, queues
      identity = None
      regions = tuple()
      services = tuple()
      cloudservers = None
      cloudfiles = None
      cloud_cdn = None
      cloud_loadbalancers = None
      cloud_databases = None
      cloud_blockstorage = None
      cloud_dns = None
      cloud_networks = None
      cloud_monitoring = None
      autoscale = None
      images = None
      queues = None
docs: De-authenticate by clearing all the names back to None.