Skip to content

feat(clickpipes): add GCP workload identity - #735

Merged
sdairs merged 1 commit into
stack/585-slow-queriesfrom
stack/690-workload-identity
Sep 7, 2026
Merged

feat(clickpipes): add GCP workload identity#735
sdairs merged 1 commit into
stack/585-slow-queriesfrom
stack/690-workload-identity

Conversation

@sdairs

@sdairs sdairs commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Closes #690

Summary

  • add cloud clickpipe context get so users can inspect a service's GCP workload-identity principal with API-key or OAuth authentication
  • add typed SERVICE_ACCOUNT_WORKLOAD_IDENTITY request variants for GCMK Kafka, GCS object storage, Pub/Sub, and BigQuery creates, plus every supported schema-discovery source
  • reject provider and credential conflicts before HTTP while preserving the existing service-account and source-specific authentication paths
  • document the context, IAM grant, and ClickPipe creation flow

Validation

  • cargo fmt --all -- --check
  • CARGO_TARGET_DIR=/tmp/chctl-690-target cargo clippy -p clickhousectl -- -D warnings
  • CARGO_TARGET_DIR=/tmp/chctl-690-target cargo check -p clickhousectl --no-default-features
  • CARGO_TARGET_DIR=/tmp/chctl-690-target cargo clippy -p clickhousectl --all-targets --no-default-features -- -D warnings
  • cargo test -p clickhousectl (one unrelated local-server port collision;
    the exact failed binary and all remaining binaries passed on rerun)
  • focused ClickPipes unit and wiremock tests with
    CARGO_TARGET_DIR=/tmp/chctl-690-target

@sdairs sdairs added this to the v0.5.0 milestone Sep 5, 2026

@iskakaushik iskakaushik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sdairs
sdairs merged commit e4a5c8b into main Sep 7, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose ClickPipes service context and GCP workload identity authentication

2 participants