Skip to content

PCCS - allow configuring an API key for Intel PCS #66

Description

@ameba23

Currently the PCCS implementation uses Intel PCS anonymously. This means we are rate limited together with all other anonymous users.

For pre-warm, where we fetch all available collateral and make many API requests, this is an issue.

We could add an option to add an Intel API key.

Activity

  1. samlaf commented on Aug 31, 2026

    @samlaf
    Contributor

    The discussion in #88 (comment) about the best API for the Pccs struct led me here.

    Think addressing this issue could even make the whole constructor API surface cleaner actually! I'd propose replacing the pccs_url with:

      pub enum CollateralSource {
          /// Intel PCS. A subscription key lifts the anonymous rate limit.
          IntelPcs { subscription_key: Option<String> },
          /// Any PCCS-compatible service: self-hosted, Phala, a local sidecar.
          Pccs { url: String },
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions