Closed
Description
Why is this needed?
PyPi just recently added support for "Trusted Publishers" to improve security posture by accepting OIDC tokens emitted from CIs also acting as IdP instead of PyPi tokens.
GitHub Actions natively supports it: https://docs.pypi.org/trusted-publishers/
Which area does this relate to?
Automation
Solution
Add a new trusted publisher in PyPi associating this org+repo+gh env+gh workflow, and updating our release process do ditch PyPi token and use the new process.
Acknowledgment
- This request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. TypeScript