CLASP's CUSTOM_API_KEY expects a static key. Vertex requires a short-lived token from a service account JWT exchange. This means you'd need either:
- A token refresh mechanism — cron/script that refreshes the token hourly OR as the service starts and restarts CLASP or updates the env
- A thin proxy between CLASP and Vertex that handles JWT→token exchange transparently
- Modify CLASP to support Google service account auth natively
CLASP's CUSTOM_API_KEY expects a static key. Vertex requires a short-lived token from a service account JWT exchange. This means you'd need either: