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

docs: document azure keyring usage #1913

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/advanced/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,23 @@ To find this URL more easily, you can use the `gcloud` command:
gcloud artifacts print-settings python --project=<project> --repository=<repository> --location=<location>
```

### Azure DevOps
Similarly for Azure DevOps, you can use the Azure keyring backend for authentication.
The backend, along with installation instructions can be found at [keyring.artifacts](https://github.com/jslorrma/keyrings.artifacts).

After following the instructions and making sure that keyring works correctly, you can use the following configuration:

##### Configuration
```toml
# rest of the pixi.toml
#
# Adds the following options to the default feature
[pypi-options]
extra-index-urls = ["https://[email protected]/{organization}/{project}/_packaging/{feed}/pypi/simple/"]
```
This should allow for getting packages from the Azure DevOps artifact registry.


#### Installing your environment
To actually install either configure your [Global Config](../reference/pixi_configuration.md#pypi-config), or use the flag:
```shell
Expand Down
Loading