Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Synchronize UK private-data and Cloud Run runtime credentials

Đã đóng
#3,865 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, google-cloud, huggingface, python
Lĩnh vực
cloud, databases, devops, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
18
Fork
33
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
22

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PolicyEngine/policyengine-api

Tất cả issue của PolicyEngine/policyengine-api

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.