Registry Configuration
Root exposes two registries:| Registry | URL | Purpose |
|---|---|---|
| Root Image Catalog | cr.root.io | Container images (Docker/OCI) |
| Root Library Catalog | pkg.root.io | Application packages (Python, JavaScript, Java) |
| Ecosystem | Registry URL |
|---|---|
| Python (pip/uv/Poetry) | https://pkg.root.io/pypi/simple/ |
| JavaScript (npm/pnpm/Yarn) | https://pkg.root.io/npm/ |
| Java (Maven) | https://pkg.root.io/maven/ |
| Ecosystem | Config File |
|---|---|
| Docker | ~/.docker/config.json |
| pip | ~/.netrc or pip.conf |
| npm | .npmrc (project or global) |
| Maven | ~/.m2/settings.xml |
| Gradle | ~/.gradle/gradle.properties |
| Poetry | pyproject.toml or poetry.toml |
| uv | ~/.netrc or uv.toml |
| Yarn | .yarnrc.yml |
| pnpm | .npmrc |
Authentication Configuration
Token format: Root tokens are opaque strings used as passwords. There is no specific prefix or format requirement for registry tokens. API keys use the prefixapik_.
Token scopes:
A single Root token provides access to both cr.root.io and pkg.root.io. There are no separate per-registry tokens.
Per-registry credential configuration:
Environment Variables
The following environment variables are recognized by the Root CLI and registry integrations: Root uses two different tokens for two different purposes:| Token | Purpose | Where to get it |
|---|---|---|
Registry token (ROOT_TOKEN) | Authenticates to cr.root.io and pkg.root.io registries | Root platform onboarding |
API key (ROOTIO_API_KEY) | Authenticates the rootio_patcher CLI to the Root API | Settings → Token Management → Generate API Token |
| Variable | Description | Default |
|---|---|---|
ROOT_TOKEN | Registry token - used by Docker, pip, npm, Maven, etc. to pull from Root’s registries | - |
ROOTIO_API_KEY | API key for rootio_patcher CLI and the Root API | - |
ROOTIO_API_TOKEN | Alternative name for the API key (used by the rootio-remediation-action) | - |
ROOTIO_API_URL | Override for the Root API endpoint | https://api.root.io |
ROOT_API_URL | Override for the Root API base URL (v1 path) | https://api.root.io/v1 |
ROOT_IMAGE_REGISTRY | Override for the image registry URL | cr.root.io |
ROOT_PKG_REGISTRY | Override for the package registry URL | pkg.root.io |
Proxy and Network Settings
Root’s registries support standard HTTP proxy configuration:docker pull or in Docker’s daemon configuration:
CI/CD Variable Reference
Recommended secret names for common CI/CD systems: GitHub Actions (store in Repository or Organization Secrets):| Secret Name | Value |
|---|---|
ROOT_TOKEN | Your Root registry token (for cr.root.io / pkg.root.io) |
ROOTIO_API_KEY | Your Root API key (for rootio_patcher CLI) |
ROOTIO_API_TOKEN | Alternative name for API key (for rootio-remediation-action) |
| Variable Name | Value |
|---|---|
ROOT_TOKEN | Your Root registry token |
ROOTIO_API_KEY | Your Root API key (for patcher) |
| Variable Name | Value |
|---|---|
ROOT_TOKEN | Your Root registry token |
secret/root/token and retrieve it via Vault’s CI/CD integrations.