Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Synchronize UK private-data and Cloud Run runtime credentials

Aperta
#3,865 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, google-cloud, huggingface, python

Direzione di ricerca

Start with the deployment workflows and the manually dispatched synchronization workflow entry point, then trace the existing Secret Manager and Cloud Run credential handling. Add coverage for idempotency, environment separation, value verification, and IAM checks without exposing secrets. Done means deployments bind the specified Hugging Face resource, documentation describes ownership and synchronization, and staging retains its distinct database password.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

Cloud Run deployments need an unambiguous, read-only Hugging Face credential for the private UK datasets. GitHub-owned runtime credentials also need to be copied to Google Secret Manager and have their Cloud Run access bindings verified before deployment.

Required behavior

  • Use PE_UK_PRIVATE_HF_READ_TOKEN as the GitHub secret and pe-uk-private-hf-read-token as the Google Secret Manager resource.
  • Verify that the Hugging Face credential is read-only and can access both required private UK repositories.
  • Synchronize shared GitHub-owned runtime secrets before staging and production deployments.
  • Synchronize the production database password only for production; preserve the distinct GCP-managed staging database password.
  • Avoid creating redundant Secret Manager versions when values have not changed.
  • Verify stored values and Cloud Run service-account permissions without printing secret values.
  • Provide a manually dispatched synchronization workflow for credential rotation and recovery.

Acceptance criteria

  • Deployment and manual workflows synchronize the correct environment-specific secret set.
  • Tests cover idempotency, environment separation, value verification, and IAM verification.
  • Deployment validation confirms the expected Hugging Face Secret Manager binding.
  • Documentation states the credential ownership and synchronization path.
Lingua principale
Python
Stelle
18
Fork
33
Merge medio
1g 7h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PolicyEngine/policyengine-api

Tutte le issue di PolicyEngine/policyengine-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.