【发布时间】:2021-01-18 11:16:27
【问题描述】:
我有一个本地 Artifactory 存储库,我希望向我的用户提供 URL,以便他们能够安装轮子。它们本身不是 Artifשבtory 的一部分,所以我正在考虑使用 API KEY。根据文档-
our API key can be used to authenticate you when using the REST API.
To use the API key, add the following header to all REST API calls: 'X-JFrog-Art-Api: <YOUR_API_KEY>'
我有我的命令pip install https://artifactory.myorg.com:443/artifactory/local-pypi-mywork-01/mypackage-0.1-py3-none-any.whl
有没有办法将 API 密钥作为此 URL 请求的标头提供?
【问题讨论】:
标签: pip artifactory pypi