Summary Add native support for Google Cloud SQL IAM database authentication (specifically for PostgreSQL on GCP/GKE) when connecting Spotfire Server to its metadata repository database, eliminating the need for static database usernames and passwords.
Current Limitation Currently, Spotfire Server connects to its metadata repository database using standard JDBC drivers configured with a static username and password in bootstrap.xml (and via Kubernetes Secrets in the official Spotfire GKE Helm charts).
Google Cloud SQL IAM database authentication relies on short-lived OAuth 2.0 access tokens (valid for 1 hour). Because Spotfire Server caches database connection pools and does not natively handle dynamic token generation or periodic credential refreshes for its repository connection, IAM-based authentication is not supported out of the box.
Proposed Enhancement Update Spotfire Server’s repository database connectivity and the official GKE Helm charts to natively support passwordless IAM authentication for Google Cloud SQL:
Dynamic Token Management: Integrate with Google Cloud’s Cloud SQL JDBC Socket Factory (or equivalent native token-refresh mechanism) so that Spotfire Server automatically requests and refreshes short-lived OAuth 2.0 tokens for pooled database connections without dropping active sessions or requiring server restarts.
Bootstrap Configuration: Allow bootstrap.xml and the Spotfire configuration CLI (config) to accept IAM authentication parameters (e.g., IAM service account principal / Workload Identity) instead of requiring a static password.
Helm Chart / GKE Support: Update the official Spotfire GKE deployment Helm charts to support GKE Workload Identity Federation for Cloud SQL connections, removing the requirement to store static database credentials in Kubernetes Secrets.
Business Value & Use Case
Stronger Security Posture: Eliminates static, long-lived database credentials from bootstrap.xml and Kubernetes Secrets, reducing the risk of credential leakage.
Enterprise Compliance: Many organizations running on GCP enforce strict security policies that mandate passwordless, IAM-based authentication (via Workload Identity) for all managed database services, including Cloud SQL.
Reduced Operational Overhead: Removes the manual effort and downtime risk associated with periodic password rotation for the Spotfire metadata repository.
Environment / Scope
Product: Spotfire Server (Metadata Repository Database)
Deployment: Google Kubernetes Engine (GKE) / Cloud-native deployments
Database: Google Cloud SQL for PostgreSQL (and applicable Cloud SQL engines)