def METHOD_NAME(sku_name: Optional[str] = None,
                                vendor_name: Optional[str] = None,
                                opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListVendorSkusCredentialResult:
    """
    Generate credentials for publishing SKU images.
    :param str sku_name: The name of the sku.
    :param str vendor_name: The name of the vendor.
    """
    __args__ = dict()
    __args__['skuName'] = sku_name
    __args__['vendorName'] = vendor_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:hybridnetwork/v20220101preview:listVendorSkusCredential', __args__, opts=opts, typ=ListVendorSkusCredentialResult).value
    return AwaitableListVendorSkusCredentialResult(
        acr_server_url=pulumi.get(__ret__, 'acr_server_url'),
        acr_token=pulumi.get(__ret__, 'acr_token'),
        expiry=pulumi.get(__ret__, 'expiry'),
        repositories=pulumi.get(__ret__, 'repositories'),
        username=pulumi.get(__ret__, 'username'))