def yubikey_get_yubikey_id(yubikey_otp):
    """
    Returns the yubikey id based

    :param yubikey_otp: Yubikey OTP
    :type yubikey_otp: str
    :return: Yubikey ID
    :rtype: str
    """

    yubikey_otp = str(yubikey_otp).strip()

    return yubikey_otp[:12]