【问题标题】:Nexus Sonatype - Getting NugetAPI Key through API/CLI?Nexus Sonatype - 通过 API/CLI 获取 NugetAPI 密钥?
【发布时间】:2021-12-28 16:41:36
【问题描述】:

是否可以通过 API 或 CLI 检索新创建的使用 API 密钥?

我已使用 Ansible 角色来设置/配置 Nexus Sonatype。

https://github.com/ansible-ThoTeam/nexus3-oss#example-playbook

每当我需要一个新的存储库时,我都会重新运行该角色,并且它还会创建一个具有对该新存储库的完全访问权限的新用户。

我正在尝试通过 ansible 完全配置 nexus,因此我尽量不要暂停,手动登录到 Nexus,并尽可能从 GUI 获取 API 密钥,然后更新我的 ansible playbook。

谢谢!

【问题讨论】:

    标签: nuget nexus sonatype nexus3


    【解决方案1】:

    目前无法通过 Nexus Repository (3) 提供的 API 实现。请参阅https://issues.sonatype.org/browse/NEXUS-25154 了解更多信息。

    【讨论】:

      猜你喜欢
      • 2016-08-29
      • 1970-01-01
      • 2021-10-01
      • 2017-05-12
      • 2020-02-14
      • 2013-01-24
      • 2016-02-19
      • 2014-12-09
      • 2021-01-10
      相关资源
      最近更新 更多