| Crates.io | cargo-artifactory-token |
| lib.rs | cargo-artifactory-token |
| version | 1.1.0 |
| created_at | 2024-03-08 00:39:38.29944+00 |
| updated_at | 2024-03-12 22:17:03.791602+00 |
| description | A cargo subcommand to manage Artifactory access tokens. |
| homepage | |
| repository | https://gitlab.com/sufflope/cargo-artifactory-token |
| max_upload_size | |
| id | 1166399 |
| size | 238,329 |
🦀-🐸-🪙 — A cargo subcommand to manage Artifactory access tokens.
{width=865}
cargo install --locked cargo-artifactory-token
See help for a detailed description of available commands, their arguments, and their default values:
cargo artifactory-token --help
Each argument some-argument can be set with a short (-s) or long (--some-argument) CLI argument, or read from an upper snake case environment variable (SOME_ARGUMENT).
endpoint: URL of the Artifactory token creation endpoint
username: your Artifactory username (e.g. flastname for First Lastname)
duration: desired token duration
file: path to your cargo credentials file
registry: name of the registry in your credentials file
access-token: your private token value
token-type: your private token type
These arguments apply to all commands.
quiet: suppress all superfluous output
Retrieve a token and save it with its renewal information. This is the default subcommand.
Takes Source and Credentials arguments.
cargo artifactory-token create
Retrieve a token and display it.
Takes Source arguments.
cargo artifactory-token generate
Retrieve a token using saved renewal information and save it.
Takes Credentials arguments.
cargo artifactory-token renew
Save a token retrieved by another means.
Takes Credentials and Token arguments.
cargo artifactory-token save