You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/repositories.md
+15
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,21 @@ If a system keyring is available and supported, the password is stored to and re
74
74
75
75
Keyring support is enabled using the [keyring library](https://pypi.org/project/keyring/). For more information on supported backends refer to the [library documentation](https://keyring.readthedocs.io/en/latest/?badge=latest).
76
76
77
+
{{% note %}}
78
+
79
+
Poetry will fallback to Pip style use of keyring so that backends like
80
+
Microsoft's [artifacts-keyring](https://pypi.org/project/artifacts-keyring/) get a change to retrieve
81
+
valid credentials. It will need to be properly installed into Poetry's virtualenv,
82
+
preferrably by installing a plugin.
83
+
84
+
If you are letting Poetry manage your virtual environments you will want a virtualenv
85
+
seeder installed in Poetry's virtualenv that installs the desired keyring backend
86
+
during `poetry install`. To again use Azure DevOps as an example: [azure-devops-artifacts-helpers](https://pypi.org/project/azure-devops-artifacts-helpers/)
87
+
provides such a seeder. This would of course best achieved by installing a Poetry plugin
88
+
if it exists for you use case instead of doing it yourself.
89
+
90
+
{{% /note %}}
91
+
77
92
Alternatively, you can use environment variables to provide the credentials:
0 commit comments