Deprecate cargo publish --token
?
#15274
Labels
A-registry-authentication
Area: registry authentication and authorization (authn authz)
C-bug
Category: bug
Command-publish
S-triage
Status: This issue is waiting on initial triage.
Problem
#15273 highlighted that
cargo publish --token
exists. In #15057, we deprecatedcargo login <token>
to avoid tokens being in shell history (see also #13623).This is also incomplete:
cargo publish
supports one-off token authentication but not other methods.Proposed Solution
Deprecate it
Alternatively, add warnings as we may want to keep this for plumbing purposes.
Notes
No response
The text was updated successfully, but these errors were encountered: