如何使用令牌访问Nexus存储库?

问题描述 投票:0回答:1

我正在尝试根据需要访问Nexus存储库。请建议我,我该如何解决该问题。还有其他使用令牌实现的基本授权吗?使用Rest API后方法?

enter image description here

感谢前进,

ios sonarqube authorization nexus
1个回答
0
投票

https://[nexus.url]/#admin/system/api上可以找到所有API。

例如,使用curl -X GET -u {my_token_login}:{my_token_password} "https://[nexus.url]/service/rest/v1/assets?repository=maven-releases" -H "accept: application/json"查看您的Maven版本中的所有伪像

© www.soinside.com 2019 - 2024. All rights reserved.