Proposal: Personal Access Tokens (PAT)#287
Open
rossigee wants to merge 3 commits into
Open
Conversation
Comprehensive proposal documenting the completed PAT implementation: - Self-service token management for Harbor users - Time-limited credentials with configurable expiration - Token prefix system (hbr_pat_) for identification - REST API endpoints for CRUD operations and refresh - Harbor UI dashboard for token management - Audit trail integration for compliance - Backward compatibility with legacy CLI tokens - Full test coverage (12/12 E2E tests passing) Implementation PR: goharbor/harbor#23370 Signed-off-by: Ross Golder <ross@golder.org>
- Change status from COMPLETED to IN REVIEW - Update hashing algorithm: SHA256 → PBKDF2-SHA256 (more secure, matches PR) - Clarify token format: 32-character random secret - Explicitly reference OIDC CLI secret auto-migration on startup - Update implementation section headers to reflect IN REVIEW status Signed-off-by: Ross Golder <ross@golder.org>
- Use standard Discussion field linking to GitHub PR - Remove non-standard Status/Implementation PR fields - Condense to template format while preserving implementation details - Move detailed technical specs to Implementation and References sections - Follow Harbor community proposal conventions Signed-off-by: Ross Golder <ross@golder.org>
7acc79a to
eab6197
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 secret