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

Add azure keyring support #3647

Closed
wants to merge 3 commits into from

Conversation

bneijt
Copy link

@bneijt bneijt commented Feb 5, 2021

Pull Request Check List

Resolves: #3344

I have added support for keyring lookup based on repository url via a get_credentials call, which is what artifacts-keyring seems to do. Every get_credentials call is at Microsoft speed, so I had to also add a cache on the keyring values.

  • Added tests for changed code.
  • Updated documentation for changed code.

Azure Keyring works by storing the credentials under the full
url of the repository in the keyring credentials.
It was required because the config could also come
from environment variables based on key translation.
@abn abn requested a review from a team February 9, 2021 23:51
@btjones-me
Copy link

Hi @bneijt thanks very much for this PR - I'm having this problem and would love for this functionality to be merged. Do we have any idea on when this might be released ?

@bneijt
Copy link
Author

bneijt commented Apr 19, 2021

Closing this pr.

The caching required is quite ugly and we have been happily working around this issue by just doing poetry config with the right keys in our CI pipeline. A scripted version of this approach is available in #3344 (comment)

No reason to keep this open.

@bneijt bneijt closed this Apr 19, 2021
Copy link

github-actions bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to install packages from Azure DevOps private repo, 401 unauthorized
2 participants