Skip to main content
Version: 1.5

Obtaining Credentials

To obtain the necessary credentials for accessing the Sodot Rust SDK crate, follow these steps:

  1. Enter using this link: https://repo.sodot.dev/

You can browse the private crates repository directly at: https://repo.sodot.dev/artifactory/sodot-rust-crates/

  1. Sign in using the sodot-auth option
  1. Once logged in, navigate to the user menu in the top right corner of the screen and locate your username.
  1. Click on Set Me UpCargo → Select the sodot-rust-repo repository.
  1. Click the "Generate Token & Create Instructions" button.
  1. Add the following registry configuration to your project's .cargo/config.toml file (create one if it doesn't exist):
[registries.sodot]
index = "sparse+https://repo.sodot.dev/artifactory/api/cargo/sodot-rust-crates/index/"

And copy the generated token from the UI (including the Bearer prefix). Run the following command to add the token to your .cargo/config.toml file:

cargo login --registry sodot
# Input the full token when requested (`Bearer xxxx`)

This will add the token to your local credentials store.

note

The token is valid for one year. Make sure to regenerate it before it expires to avoid service disruptions.

For any further questions, contact the Sodot team.