Get Cluster JWKS

gke.get_jwks
ActionGoogle Cloudconnection required

Calls GKE API v1 GET .../clusters/{c}/jwks.

Read the cluster's public JWKS so a workflow can verify tokens its workloads issued. Requires the cluster's OIDC issuer — i.e. Workload Identity — to be enabled; without it GKE answers 400 INVALID_ARGUMENT rather than saying what is missing. Google serves this endpoint without authentication.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Kubernetes Engine
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, location
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
location
Zone or region of the cluster (overrides connection).
stringNo———
cluster
Cluster name.
stringYes———

Output

One shape.

result

FieldTypeExample
ok
boolean—
keys
array—
{
  "keys": [],
  "ok": false
}

Notes

  • Needs Workload Identity (the cluster's OIDC issuer) enabled. gke.create_cluster can turn it on with workload_identity=true.

See Get Cluster JWKS run in a workflow.

In a technical demo we add the Google Kubernetes Engine connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.