Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert PyPI Auth Method to Trusted Publishers #84

Closed
6 tasks
Tracked by #87
emmyoop opened this issue Jul 6, 2023 · 1 comment
Closed
6 tasks
Tracked by #87

Convert PyPI Auth Method to Trusted Publishers #84

emmyoop opened this issue Jul 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@emmyoop
Copy link
Member

emmyoop commented Jul 6, 2023

Convert auth to Trusted Publishers for publishing to PyPI instead of using long lived API tokens.

This is really just defining the repo and workflow (and optionally an environment which we could use for our production vs test releases). It uses OIDC to exchange short lived tokens instead of using our long lived tokens. Example workflow in this blog post.

  • dbt-core
  • dbt-snowflake
  • dbt-redshift
  • dbt-bigquery
  • dbt-spark
  • others? look through the packages we release to PyPI and adjust/request maintainers adjust?
@emmyoop emmyoop added the enhancement New feature or request label Jul 6, 2023
@emmyoop emmyoop changed the title Convert PyPI Auth Method to Trusted PublishersTrusted Publishers Convert PyPI Auth Method to Trusted Publishers Jul 24, 2023
@emmyoop
Copy link
Member Author

emmyoop commented Aug 15, 2023

I've looked into this and because the workflows that actually publishes to PyPI lives in another repo (dbt-release) we cannot use this auth method. We should still favor using this method wherever possible.

@emmyoop emmyoop closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant