Which validation endpoint you use depends on the type of token that you
requested:

- [OIDC tokens](https://docs.cloud.google.com/confidential-computing/confidential-space/docs/reference/token-validation-endpoint-fields#oidc)

- [PKI tokens](https://docs.cloud.google.com/confidential-computing/confidential-space/docs/reference/token-validation-endpoint-fields#pki)

## OIDC tokens

OIDC tokens are provided by Google Cloud Attestation, AWS, and Intel Trust
Authority.

The following table describes the high-level fields returned at the OIDC token
validation endpoint. The endpoint is constructed by appending
`.well-known/openid-configuration` to the issuer URI.

- Google Cloud Attestation: [`https://confidentialcomputing.googleapis.com/.well-known/openid-configuration`](https://confidentialcomputing.googleapis.com/.well-known/openid-configuration).

- Intel Trust Authority: [`https://portal.trustauthority.intel.com/.well-known/openid-configuration`](https://portal.trustauthority.intel.com/.well-known/openid-configuration).

| Key | Description |
|---|---|
| `claims_supported` | The keys in the attestation token. For more details, see [Attestation token claims](https://docs.cloud.google.com/confidential-computing/confidential-space/docs/reference/token-claims). |
| `id_token_signing_alg_values_supported` | The signing algorithms (`alg` values) supported by the token. Confidential Space supports the `RS256` algorithm. |
| `issuer` | The HTTPS scheme that Confidential Space uses as its issuer identifier. The value depends on the attestation service being used: - Google Cloud Attestation: `https://confidentialcomputing.googleapis.com` - Intel Trust Authority: `https://portal.trustauthority.intel.com` |
| `jwks_uri` | The path to the public keys used to verify the token signature. You can publish these keys in a Cloud Storage bucket. You can find the `jwks_uri` keys at <https://www.googleapis.com/service_accounts/v1/metadata/jwk/signer@confidentialspace-sign.iam.gserviceaccount.com>. An example value is `https://example.storage.googleapis.com/jwks.json.` |
| `response_types_supported` | A list of supported Confidential Space response types. Confidential Space supports `id_token`. |
| `scopes_supported` | The [OAuth 2.0](https://openid.net/specs/openid-connect-discovery-1_0.html#RFC6749) scope values that the Confidential VM instance supports. Confidential Space supports `openid` only. |
| `subject_types_supported` | The subject identifier types that Confidential Space supports. Confidential Space supports `public`. |

## PKI tokens

The following table describes the high-level fields returned at the PKI token
validation endpoint,
[`https://confidentialcomputing.googleapis.com/.well-known/attestation-pki-root`](https://confidentialcomputing.googleapis.com/.well-known/attestation-pki-root).

|---|---|
| `root_ca_uri` | The path to the root certificate that is used to verify a PKI token type signature. |