def METHOD_NAME(resource_group_name: Optional[str] = None,
                        workspace_name: Optional[str] = None,
                        opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListWorkspaceKeysResult:
    """
    Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry
    :param str resource_group_name: Name of the resource group in which workspace is located.
    :param str workspace_name: Name of Azure Machine Learning workspace.
    """
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['workspaceName'] = workspace_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:machinelearningservices/v20200901preview:listWorkspaceKeys', __args__, opts=opts, typ=ListWorkspaceKeysResult).value
    return AwaitableListWorkspaceKeysResult(
        app_insights_instrumentation_key=pulumi.get(__ret__, 'app_insights_instrumentation_key'),
        container_registry_credentials=pulumi.get(__ret__, 'container_registry_credentials'),
        user_storage_key=pulumi.get(__ret__, 'user_storage_key'),
        user_storage_resource_id=pulumi.get(__ret__, 'user_storage_resource_id'))