{"resource_type":{"id":653,"name":"vertex_ai_federated","schema":"{\n\t\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n\t\"order\": [\n\t\t\"base_url\",\n\t\t\"workload_identity_provider\",\n\t\t\"service_account_email\",\n\t\t\"workload_identity_audience\"\n\t],\n\t\"properties\": {\n\t\t\"base_url\": {\n\t\t\t\"default\": \"\",\n\t\t\t\"description\": \"The Vertex AI endpoint, on *.googleapis.com. For Gemini: https://{region}-aiplatform.googleapis.com/v1/projects/{project_id}/locations/{region}/publishers/google/models. For Claude: https://{region}-aiplatform.googleapis.com/v1/projects/{project_id}/locations/{region}/publishers/anthropic/models\",\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"service_account_email\": {\n\t\t\t\"default\": \"\",\n\t\t\t\"description\": \"The service account to impersonate, which must grant roles/iam.workloadIdentityUser to the pool's principals. Leave empty to call Vertex AI with the federated token directly.\",\n\t\t\t\"nullable\": true,\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"workload_identity_audience\": {\n\t\t\t\"default\": \"\",\n\t\t\t\"description\": \"The audience of Windmill's OIDC token, when the provider is configured with custom allowed audiences. Defaults to https://iam.googleapis.com/{workload_identity_provider}.\",\n\t\t\t\"nullable\": true,\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"workload_identity_provider\": {\n\t\t\t\"default\": \"\",\n\t\t\t\"description\": \"The workload identity pool provider, as projects/{project_number}/locations/global/workloadIdentityPools/{pool}/providers/{provider}.\",\n\t\t\t\"type\": \"string\"\n\t\t}\n\t},\n\t\"required\": [\n\t\t\"base_url\",\n\t\t\"workload_identity_provider\"\n\t],\n\t\"type\": \"object\"\n}","approved":true,"app":"google","description":"Vertex AI through Google Cloud Workload Identity Federation, with no stored key or access token. Windmill mints an OIDC token for the user or job making the request, exchanges it with Google STS, optionally impersonates a service account, and refreshes the access token before it expires. Serves Claude or Gemini on Vertex depending on the publisher in base_url. Register your Windmill instance (issuer <BASE_URL>/api/oidc/) as an OIDC provider in a workload identity pool first. The token subject is <email>::<workspace> from Windmill AI and <email>::<path>::<flow_path>::<workspace> from an AI agent step; Google caps google.subject at 127 bytes, so mapping it from assertion.email can be safer. Works in Windmill AI chat and AI agent steps, not in scripts. Requires an enterprise license.","created_by":"hugo989","created_at":"2026-11-16T14:10:06.654Z","format_extension":null,"picks":"0","display_name":"Vertex AI (Workload Identity Federation)"}}