Skip to content

Poetry fails to publish package to Jfrog's PyPi artifactory via trusted publishing #8968

Closed Answered by jzizka91
jzizka91 asked this question in General
Discussion options

You must be logged in to vote

I figured out how to make it work using basic authentication and Jfrog's OpenID Connect Integration.

With this method, you don't need to store poetry username and password credentials in GitHub secrets.

Token (JWT) will be used as the password and the username that is associated with the token will be parsed from the token.

To make this work, you need to:

  1. Configure an OIDC Integration on Jfrog
  2. Add Identity Mappings for the already created OIDC Integration - Identity Mappings defines a set of conditions for matching an incoming OIDC claim to a specific authorization scope. If an incoming OIDC claim matches the defined conditions, Identity Mappings will generate a short-lived access token …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by abn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants