Skip to content

fix(generator): mask embedded gcloud service-account key contents #5345

Description

@thomhurst

Generated Google SDK 585 output in #5344 (head ce4f556, generation run 35684123650) omits [SecretValue] from embedded service-account credentials accepted by Oracle Goldengate create options.

Codex P1 finding: #5344 (comment)

Captured SDK help explicitly describes --google-big-query-connection-properties-service-account-key-file, the Cloud Storage/Pub/Sub equivalents, and the Iceberg Cloud Storage equivalent as "The base64 encoded content of the service account key file". These values are credential contents, despite their -file names. Without the attribute, command logging and telemetry can expose them.

Fix the generic classification in tools/ModularPipelines.OptionsGenerator/src/ModularPipelines.OptionsGenerator/Generators/GeneratorUtils.cs and its scraper/enhancer path. Add captured SDK regressions covering these properties, preserve non-secret file paths/resource identifiers/HTTP-location metadata, and verify explicit secret overrides. Merge the source fix separately, then regenerate from latest main and confirm runtime metadata/masking in the healthy Google replacement. Never patch generated options or API baselines.

Related acceptance: #5180 and #4799. Defective generated PR #5344 must be closed and its pending CI cancelled before replacement.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High: real user impact or v4-foundation - work secondbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions