Skip to content

[Proposal] Credentials per project (local .cargo/credentials) #4645

Closed
@fa7ca7

Description

@fa7ca7

Docs prescribe a user to do login first, so during publish, owner or yank cargo should already have credentials. Do we actually need --token parameter?

Probably it'd be better to implement local .cargo/credentials instead as discussed in #3978 (at the end of thread)? Local credentials will override the global.

For user it might look like:

$ cargo login token  # save to .cargo/credentials
$ cargo login --global token  # save to $HOME/.cargo/credentials

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions