All Downloads are FREE. Search and download functionalities are using the official Maven repository.

json.schema.security.credentials.gcsCredentials.json Maven / Gradle / Ivy

{
  "$id": "https://open-metadata.org/security/credentials/gcsCredentials.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GCSCredentials",
  "description": "GCS credentials configs.",
  "type": "object",
  "javaType": "org.openmetadata.catalog.security.credentials.GCSCredentials",
  "definitions": {
    "GCSValues": {
      "title": "GCS Credentials Values",
      "description": "GCS Credentials.",
      "type": "object",
      "properties": {
        "type": {
          "title": "Credentials Type",
          "description": "Google Cloud service account type.",
          "type": "string"
        },
        "projectId": {
          "title": "Project ID",
          "description": "Google Cloud project id.",
          "type": "string"
        },
        "privateKeyId": {
          "title": "Private Key ID",
          "description": "Google Cloud private key id.",
          "type": "string"
        },
        "privateKey": {
          "title": "Private Key",
          "description": "Google Cloud private key.",
          "type": "string",
          "format": "password"
        },
        "clientEmail": {
          "title": "Client Email",
          "description": "Google Cloud email.",
          "type": "string"
        },
        "clientId": {
          "title": "Client ID",
          "description": "Google Cloud Client ID.",
          "type": "string"
        },
        "authUri": {
          "title": "Authentication URI",
          "description": "Google Cloud auth uri.",
          "type": "string",
          "format": "uri",
          "default": "https://accounts.google.com/o/oauth2/auth"
        },
        "tokenUri": {
          "title": "Token URI",
          "description": "Google Cloud token uri.",
          "type": "string",
          "format": "uri",
          "default": "https://oauth2.googleapis.com/token"
        },
        "authProviderX509CertUrl": {
          "title": "Authentication Provider x509 Certificate URL",
          "description": "Google Cloud auth provider certificate.",
          "type": "string",
          "format": "uri",
          "default": "https://www.googleapis.com/oauth2/v1/certs"
        },
        "clientX509CertUrl": {
          "title": "Client x509 Certificate URL",
          "description": "Google Cloud client certificate uri.",
          "type": "string",
          "format": "uri"
        }
      },
      "additionalProperties": false
    },
    "GCSCredentialsPath": {
      "title": "GCS Credentials Path",
      "description": "GCS Credentials Path.",
      "type": "string"
    }
  },
  "properties": {
    "gcsConfig": {
      "title": "GCS Credentials Configuration",
      "description": "GCS configs.",
      "oneOf": [
        {
          "$ref": "#/definitions/GCSValues"
        },
        {
          "$ref": "#/definitions/GCSCredentialsPath"
        }
      ]
    }
  },
  "additionalProperties": false,
  "required": ["gcsConfig"]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy