Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
Body
Hi npm team,
With the recent introduction of read-write-stage-only granular access tokens and the upcoming deprecation of 2FA-bypass tokens, we are migrating our release pipelines to staged publishing.
Currently, stage-only tokens are capped at the same 90-day maximum expiration as full read-and-write tokens. Are there any plans to extend this maximum lifetime (e.g., to 180 or 365 days) specifically for stage-only tokens?
Why a longer expiration makes sense here:
• Human-in-the-loop gate: Unlike standard write tokens, a stage-only token cannot publish live package versions on its own—it always requires an explicit manual approval step with 2FA before anything goes public.
• Lower operational overhead for non-OIDC environments: For teams running on self-hosted CI runners, air-gapped build systems, or platforms that don't yet support npm Trusted Publishing (OIDC), rotating static tokens every 90 days across multiple packages adds significant maintenance friction, even though the token's direct publishing risk is already mitigated by the manual approval gate.
Could you share whether extending the 90-day cap for stage-only tokens is on the roadmap?
Thanks!
All reactions