apiVersion: apis.kcp.io/v1alpha2 kind: APIExport metadata: name: widgets spec: resources: - name: widgets group: pentest.dev schema: v1.widgets.pentest.dev storage: crd: {} # Realistic provider-overreach surface: the provider asks consumers for access # to their Secrets (e.g. "to manage TLS material for your widgets"). Consumers # that accept this claim let the provider read their secrets THROUGH the # APIExport virtual workspace. That VW is owned by the provider workspace, so a # mere consumer (the attacker in :root:alpha) must NOT be able to reach it. permissionClaims: - group: "" resource: secrets verbs: ["*"]