generated: '2026-07-11' method: derived source: openapi/pypi-upload-api-openapi.yml summary: types: - http schemes: - name: basicAuth type: http scheme: basic description: HTTP Basic Authentication using __token__ as the username and a PyPI API token as the password. Trusted Publishers receive short-lived tokens through OpenID Connect that are used in the same manner. sources: - openapi/pypi-upload-api-openapi.yml