def METHOD_NAME(self, bk_biz_id, esb_client):
    job_kwargs = {
        "bk_scope_type": "biz_set",
        "bk_scope_id": str(bk_biz_id),
        "bk_biz_id": bk_biz_id,
        "name": env.JOB_CREDENTIAL_NAME,
        "type": "USERNAME_PASSWORD",
        "credential_username": env.BKREPO_USERNAME,
        "credential_password": env.BKREPO_PASSWORD,
    }
    result = esb_client.jobv3.create_credential(job_kwargs)
    if not result["result"]:
        return {"result": False, "data": None, "message": result["message"]}
    credential_id = result["data"]["id"]
    self.update_or_create(bk_biz_id=bk_biz_id, defaults={"credential_id": credential_id})
    return {"result": True, "data": credential_id, "message": None}