-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-registry-authenticationArea: registry authentication and authorization (authn authz)Area: registry authentication and authorization (authn authz)C-bugCategory: bugCategory: bugCommand-publishS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review
Description
Problem
#15273 highlighted that cargo publish --token
exists. In #15057, we deprecated cargo 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
kornelski
Metadata
Metadata
Assignees
Labels
A-registry-authenticationArea: registry authentication and authorization (authn authz)Area: registry authentication and authorization (authn authz)C-bugCategory: bugCategory: bugCommand-publishS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or reviewStatus: Issue or feature is accepted, and has a team member available to help mentor or review