{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-workspace/json-schema/google-workspace-idp-credential-schema.json",
  "title": "IdpCredential",
  "description": "Credential for verifying signatures produced by the Identity Provider.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-workspace-cloudidentity-inbound-saml-sso-profiles-api-openapi.yml#/components/schemas/IdpCredential",
  "properties": {
    "name": {
      "description": "Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the credential.",
      "readOnly": true,
      "type": "string"
    },
    "rsaKeyInfo": {
      "$ref": "#/$defs/RsaPublicKeyInfo",
      "description": "Output only. Information of a RSA public key."
    },
    "dsaKeyInfo": {
      "$ref": "#/$defs/DsaPublicKeyInfo",
      "description": "Output only. Information of a DSA public key."
    },
    "updateTime": {
      "readOnly": true,
      "format": "google-datetime",
      "description": "Output only. Time when the `IdpCredential` was last updated.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "DsaPublicKeyInfo": {
      "description": "Information of a DSA public key.",
      "type": "object",
      "properties": {
        "keySize": {
          "description": "Key size in bits (size of parameter P).",
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "RsaPublicKeyInfo": {
      "description": "Information of a RSA public key.",
      "properties": {
        "keySize": {
          "description": "Key size in bits (size of the modulus).",
          "type": "integer",
          "format": "int32"
        }
      },
      "type": "object"
    }
  }
}