Skip to content

feat: surface gcp.credentials_file in init wizard - #41

Merged
jackvaughanjr merged 1 commit into
mainfrom
feat/init-gcp-credentials-file
Apr 23, 2026
Merged

feat: surface gcp.credentials_file in init wizard#41
jackvaughanjr merged 1 commit into
mainfrom
feat/init-gcp-credentials-file

Conversation

@jackvaughanjr

Copy link
Copy Markdown
Owner

Summary

  • Adds an optional Service account key file prompt to the GCP section of snipemgr init
  • Blank = use Application Default Credentials (existing behaviour, unchanged)
  • If a path is entered, validates the file exists before writing snipemgr.yaml — clear error if not found
  • credentials_file: is always written to the generated config (with inline comment when blank) so the option is self-documenting

Test plan

  • Run snipemgr init, choose to configure GCP — key file prompt appears after service account email
  • Leave blank — snipemgr.yaml written with credentials_file: "" and comment
  • Enter a valid path — path written to snipemgr.yaml
  • Enter a non-existent path — init fails with clear error before writing anything

Closes #1

Adds an optional service account key file prompt to the GCP section of
snipemgr init. Validates the path before writing snipemgr.yaml if a
value is provided. Writes the field to the generated config whether or
not a value is given so the option is self-documenting.

Closes #1
@jackvaughanjr
jackvaughanjr merged commit f8b1996 into main Apr 23, 2026
1 check passed
@jackvaughanjr
jackvaughanjr deleted the feat/init-gcp-credentials-file branch April 23, 2026 00:33
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.

gcp.credentials_file not surfaced in init wizard or interactive install

1 participant