Quick Start
Three things stand between a fresh workspace and a tracked install: an API key, the proxy base URL, and a package manager configured to use both.
1. Generate an API key
Section titled “1. Generate an API key”- Open the ShieldedStack Portal and select the intended tenant and workspace.
- Go to Settings → API Keys. You need the Manage API keys permission.
- In the Generate New API Key form, enter a Project Name for the application or pipeline that will use the key.
- Choose an expiration period, or leave Never expires selected.
- Leave Allow read-only workspace data access disabled for package-manager clients. That option is for trusted clients such as MCP integrations and exposes data across the workspace.
- Click Generate API Key.
- Copy the key immediately and store it as a secret. It is not shown again.
The key identifies both the workspace whose policy applies and the project behind each install. Project names accept letters, numbers, hyphens (-), underscores (_), and periods (.), and must start and end with a letter or number. For example, frontend-web, backend.api, mobile_app, and data-pipeline are all valid.
Project names are how usage is grouped, which has three consequences worth knowing before you pick one:
- Separate environments want separate names, such as
myapp-dev,myapp-staging, andmyapp-prod. - Several keys can share one project name, which is what makes key rotation and multiple build agents possible.
- Revoking a key does not delete project data. History is preserved, and a new key with the same project name continues tracking under that project.
Use the key as the password for clients using Basic authentication, or as the token for clients using Bearer authentication. The ecosystem pages below show the exact format. Package-manager clients do not need separate tenant or workspace headers, or credentials for the upstream mirror.
2. Know the proxy base URL
Section titled “2. Know the proxy base URL”Every package manager configuration is built from one value.
<proxy-url> is the base URL of the package proxy, without a trailing slash. Each ecosystem is served under its own path beneath it:
| Ecosystem | Endpoint |
|---|---|
| NuGet | <proxy-url>/nuget/v3/index.json |
| npm | <proxy-url>/npm/ |
| PyPI | <proxy-url>/pip/ |
| Maven | <proxy-url>/maven/ |
| Go | <proxy-url>/go |
| Cargo | sparse+<proxy-url>/cargo/ |
| RubyGems | <proxy-url>/rubygems |
| Dart | <proxy-url>/dart |
| Composer | <proxy-url>/composer |
| Hex | <proxy-url>/hex |
Container images use the OCI distribution endpoint at /v2/<registry>/ on the proxy host, rather than a package-manager registry URL. Follow Container images for runtime configuration and supported registries.
Some configuration formats need the host rather than the full URL. Where a page writes <proxy-host>, it means the same value without the scheme, and <proxy-host-and-port> includes the port when the deployment uses a non-default one.
Use HTTPS in production. Go refuses authenticated HTTP proxy URLs outright, and a Dart bearer token must not cross an unencrypted connection.
Operators can select a public-package mirror for all ten package ecosystems above using Custom Upstream Registries. This is deployment configuration, not a Portal setting. Developers continue using the same proxy endpoints and ShieldedStack API keys. OCI registry configuration is separate.
Upstream selection changes package delivery and protocol discovery, not ShieldedStack’s public enrichment sources. If your own package names must be excluded from public enrichment, save Private packages patterns under Settings → Security Policy before introducing those packages. This does not configure a private feed or exempt packages from policy.
3. Configure a package manager
Section titled “3. Configure a package manager”Pick your ecosystem and follow its page:
- Ecosystems index lists every supported registry and which page covers each tool, including Mix and Rebar3 for Hex.
Each page carries the endpoint, per-client configuration, how to commit that configuration without committing a secret, and troubleshooting for that ecosystem.
4. Confirm it is being tracked
Section titled “4. Confirm it is being tracked”- Install a package through the configured package manager.
- Open the Portal in the workspace selected when generating the key.
- Go to Logs to confirm the request, its project, and the allow or block reason. Go to Packages and filter by the project to see the tracked package and version; enrichment may appear later as collection completes.
Tracking is processed asynchronously, so allow time for activity to appear. If there is still no request in Logs, confirm that the client actually downloaded something: a local package cache can satisfy an install without contacting any registry. Then check the registry configuration, including scoped overrides and config-file locations, and confirm you are viewing the key’s workspace. See Request Logs and the ecosystem troubleshooting pages.
Where to go next
Section titled “Where to go next”- Set the policy the workspace should enforce, in Policy and Enforcement.
- Review what you already have, in Packages and Risk.
- Route alerts somewhere people read, in Notification Channels.
- Plan key rotation before the first key expires.