github · GitHub Actions Docs
Actions Configuring OpenID Connect in PyPI - GitHub Docs
Configures OpenID Connect (OIDC) to allow GitHub Actions to authenticate with PyPI without using long-lived secrets.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Configuring OpenID Connect in PyPI - GitHub Docs
Configures OpenID Connect (OIDC) to allow GitHub Actions to authenticate with PyPI without using long-lived secrets.
When To Use
Use when you need to automate Python package uploads to PyPI from GitHub Actions using short-lived, identity-based authentication instead of permanent API tokens.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-how-tos-secure-your-work-configuring-openid-connect-in-pypi-gith-workflow-guide.md | A guide explaining how to configure OpenID Connect to securely authenticate GitHub Actions with PyPI. | Questions about a guide explaining how to configure OpenID Connect to securely authenticate GitHub Actions with PyPI. |
examples/actions-how-tos-secure-your-work-configuring-openid-connect-in-pypi-gith.text | A GitHub Actions workflow YAML configuration demonstrating how to use OpenID Connect to authenticate with PyPI. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration demonstrating how to use OpenID Connect to authenticate with PyPI. |
What This Skill Covers
-
- GitHub Actions / - How-tos / - Secure your work / - Security harden deployments / - OIDC in PyPI
- Main sections:
In this article,Overview,Prerequisites,Adding the identity provider to PyPI,Updating your GitHub Actions workflow.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://docs.github.com/en/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-pypi
