crates.io · Authentication Profile

Crates Io Authentication

Authentication

crates.io secures its APIs with apiKey across 1 declared security scheme, as derived from its OpenAPI definitions.

RustPackage RegistryCratesCargoOpen SourceDeveloper ToolsRust Foundation
Methods: apiKey Schemes: 1 OAuth flows: API key in: header

Security Schemes

ApiTokenAuth apiKey
· in: header (Authorization)

Source

Authentication Profile

Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/crates-io-web-api-openapi.yml
summary:
  types:
  - apiKey
  api_key_in:
  - header
schemes:
- name: ApiTokenAuth
  type: apiKey
  in: header
  parameter: Authorization
  description: A crates.io API token created at https://crates.io/settings/tokens. The raw token
    is sent in the Authorization header without a Bearer prefix.
  sources:
  - openapi/crates-io-web-api-openapi.yml