codebox-npm icon indicating copy to clipboard operation
codebox-npm copied to clipboard

Support for read-only tokens

Open joebowbeer opened this issue 7 years ago • 0 comments
trafficstars

This is a Feature Proposal

Description

Please support NPM tokens.

npm token list --registry https://xyz.amazonaws.com/dev/registry/
npm token create --read-only --registry https://xyz.amazonaws.com/dev/registry/

These commands currently fail (403) because of missing endpoint:

https://xyz.amazonaws.com/dev/registry/-/npm/v1/tokens

Read-only tokens are useful in CI builds.

joebowbeer avatar Jun 19 '18 17:06 joebowbeer