def METHOD_NAME(btpUsecase, service, keyName, keyLabels):
    filepath = (
        "logs/k8s/service-binding/service-binding-"
        + btpUsecase.accountMetadata.get("subaccountid")
        + ".yaml"
    )
    build_and_store_service_binding_yaml_from_parameters(
        keyName, service, filepath, keyLabels
    )
    command = (
        "kubectl apply -f "
        + filepath
        + " -n "
        + btpUsecase.k8snamespace
        + " --kubeconfig "
        + btpUsecase.kubeconfigpath
    )
    message = (
        "Create service binding for service instance> " + service.instancename + " <"
    )
    p = runShellCommandFlex(btpUsecase, command, "INFO", message, True, True)
    if p.returncode == 0:
        command = (
            "kubectl get ServiceBinding "
            + keyName
            + " -n "
            + btpUsecase.k8snamespace
            + " --kubeconfig "
            + btpUsecase.kubeconfigpath
            + " -o json"
        )
        p = runShellCommand(btpUsecase, command, "INFO", None)
        result = convertStringToJson(p.stdout.decode())
    else:
        log.error("can't create service key!")
        sys.exit(os.EX_DATAERR)
    return result