Cargo - Private Packages
For Aikido to update dependencies that include private packages, it needs access to your private registries so it can generate accurate lockfile updates. Follow the steps below to configure private Cargo packages.
Navigate to the autofix settings page and click on "Connect Registry"
Select Cargo

Cargo uses the
CARGO_REGISTRIES_<INDEX_NAME>_TOKENenvironment variables for token-based authentication to a registry named<INDEX_NAME>.
For example for the following config.toml file:
You can use CARGO_REGISTRIES_EXAMPLE_TOKEN to set the token for the example registry.
Click on "Save"
Last updated
Was this helpful?