{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-android/json-schema/google-android-service-account-key-schema.json",
  "title": "ServiceAccountKey",
  "description": " *Deprecated:* New integrations cannot use this method and can refer to our new recommendations ",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-android-androidenterprise-serviceaccountkeys-api-openapi.yml#/components/schemas/ServiceAccountKey",
  "properties": {
    "type": {
      "type": "string",
      "description": "The file format of the generated key data.",
      "enum": [
        "googleCredentials",
        "pkcs12"
      ]
    },
    "data": {
      "type": "string",
      "description": "The body of the private key credentials file, in string format. This is only populated when the ServiceAccountKey is created, and is not stored by Google. When type is \"pkcs12\", the contents of the data field is base64 encoded and has the password \"notasecret\"."
    },
    "publicData": {
      "type": "string",
      "description": "Public key data for the credentials file. This is an X.509 cert. If you are using the googleCredentials key type, this is identical to the cert that can be retrieved by using the X.509 cert url inside of the credentials file."
    },
    "id": {
      "description": "An opaque, unique identifier for this ServiceAccountKey. Assigned by the server.",
      "type": "string"
    }
  },
  "type": "object"
}