Skip to content

Commit

Permalink
docs: document azure keyring usage (#1913)
Browse files Browse the repository at this point in the history
Added some short documentation regarding Azure authentication. Could
@jslorrma, verify its correctness if you have the chance? Also pulling
in @PanTheDev, because I know you wanted to add documentation
surrounding this. We can modify/edit as you guys see fit!
  • Loading branch information
tdejager authored Aug 28, 2024
1 parent 39c4377 commit ff86874
Showing 1 changed file with 17 additions and 0 deletions.
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

0 comments on commit ff86874

Please sign in to comment.