Skip to content

Conversation

@dominic-clerk
Copy link
Contributor

@dominic-clerk dominic-clerk commented Nov 18, 2025

Speakeasy doesn't support it out of the box, but we can manully mint a short-lived API token using OIDC which we then pass to speakeasy. This allows us to remove the long-lived API token from our CI variables.

It uses the manual steps in the guide here https://docs.pypi.org/trusted-publishers/using-a-publisher/ to mint the token.

Fixes SEC-196

Also TODO:

  • Delete PYPI_TOKEN secret
  • Revoke the token on pypi.org

Speakeasy doesn't support it out of the box, but we can manully
mint a short-lived API token using OIDC which we then pass to
speakeasy. This allows us to remove the long-lived API token
from our CI variables.
@dominic-clerk
Copy link
Contributor Author

I didn't publish new packages but I ran manually the other job and it worked.

I suggest merging and monitoring the next release after #190

@dominic-clerk dominic-clerk merged commit e363760 into main Nov 18, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants