Proposal: Personal Access Tokens (PAT)#1
Conversation
|
Warning Review limit reached
Next review available in: 17 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Ports goharbor#287 for the harbor-next implementation (container-registry/harbor-next#495). Signed-off-by: Ross Golder <ross@golder.org>
a8ef03a to
82e8e08
Compare
There was a problem hiding this comment.
All reported issues were addressed
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
- Add versioned hash format v1:sha256:100000:salt:hash with configurable iterations - Clarify audit trail vs last_used_at tracking - Reduce secret VARCHAR from 7168 to 255 - Add PostgreSQL trigger for update_time auto-update - Add deny-by-default scope validation semantics - Fix legacy OIDC migration: on first use instead of startup Signed-off-by: Ross Golder <ross@golder.org>
91e037c to
2f90e0d
Compare
Summary
Proposes Personal Access Tokens (PAT) as a modern, self-service authentication mechanism for Harbor. PATs provide named, time-limited credentials with audit trails, enabling secure CI/CD integration and programmatic access.
Features
last_used_atRelated Work
hbr_pat_+ 32-character random secretSummary by cubic
Adds a proposal for Personal Access Tokens (PAT) that enable self-service, time-limited, auditable credentials for Harbor’s API and Docker login via Basic Auth. Defines the
hbr_pat_token format, deny-by-default project scoping, versioned PBKDF2-SHA256 hashing (v1:sha256:100000:salt:hash) with configurable iterations, apersonal_access_tokentable (withupdate_timetrigger andsecretVARCHAR(255)), clarified audit logging vslast_used_at, and legacy OIDC CLI secret migration on first use.Written for commit 2f90e0d. Summary will update on new commits.