code: def change_key(self, key):
          
  
          services = {}
          for service_name in self.list_services():
              services[service_name] = self.get_service(service_name)
  
          orgs = {}
          for org_name in self.list_orgs():
              orgs[org_name] = self.get_org(org_name)
  
          self.key = key
  
          if orgs:
              for org_name, org_config in list(orgs.items()):
                  self.set_org(org_config)
  
          if services:
              for service_name, service_config in list(services.items()):
                  self.set_service(service_name, service_config)
  
          self._convert_connected_app()
docs: re-encrypt stored services and orgs with the new key