def METHOD_NAME(resource_group_name: Optional[str] = None,
                                        service_name: Optional[str] = None,
                                        sid: Optional[str] = None,
                                        workspace_id: Optional[str] = None,
                                        opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListWorkspaceSubscriptionSecretsResult:
    """
    Gets the specified Subscription keys.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    :param str service_name: The name of the API Management service.
    :param str sid: Subscription entity Identifier. The entity represents the association between a user and a product in API Management.
    :param str workspace_id: Workspace identifier. Must be unique in the current API Management service instance.
    """
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['serviceName'] = service_name
    __args__['sid'] = sid
    __args__['workspaceId'] = workspace_id
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:apimanagement/v20230301preview:listWorkspaceSubscriptionSecrets', __args__, opts=opts, typ=ListWorkspaceSubscriptionSecretsResult).value
    return AwaitableListWorkspaceSubscriptionSecretsResult(
        primary_key=pulumi.get(__ret__, 'primary_key'),
        secondary_key=pulumi.get(__ret__, 'secondary_key'))