gpt4 book ai didi

jenkins - 我如何在 Jenkins 中拥有工作范围凭据?

转载 作者:行者123 更新时间:2023-12-04 20:40:33 25 4
gpt4 key购买 nike

首先抱歉,如果这个问题及其解决方案存在于某处但我找不到它。

我希望能够在工作中创建凭据,并且只能在此工作中使用,这是一种工作范围凭据。

目前,凭据插件仅建议全局和系统范围,因此凭据可用于所有作业。

Credentials Binding Plugin 似乎也没有解决我的问题,但公平地说,我不确定是否了解它的所有功能,我不想使用文本或文件提供程序。

我用
Jenkins 1.589
凭证插件 1.18

问候

最佳答案

使用 Folders plugin结合Credentials Binding plugin :

The Credentials plugin is folder-aware and will enhance the Configurepage for Folders with a Credentials section. Credentials defined on afolder can only be used by builds within that folder.

You can further secure access to credentials to only specific users inyour organization by combining the Credentials and Folder plugins withthe Role Based Access Control plugin.


来源: https://support.cloudbees.com/hc/en-us/articles/203802500-Injecting-Secrets-into-Jenkins-Build-Jobs#usingfolderstocontrolcredentialusage

关于jenkins - 我如何在 Jenkins 中拥有工作范围凭据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27102634/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com