一种用于安全保存和分发网格令牌的托管令牌服务
A Managed Tokens Service for Securely Keeping and Distributing Grid Tokens
AI总结:
Fermilab 为过渡到基于 WLCG Common JWT Profile 的网格令牌认证,使用 Go 语言开发并部署了可扩展的 Managed Tokens 服务,通过 kerberos 凭证自动获取、刷新和分发 vault tokens,以安全支持批量作业的自动化提交。
摘要:
Fermilab 正在将网格操作的认证和授权过渡为使用基于 WLCG Common JWT (JSON Web Token) Profile 的不记名令牌。Fermilab 实验人员依赖的功能之一是能够自动化批量作业提交,这反过来又取决于能否安全地刷新并将必要的凭证分发到实验作业提交点。因此,随着向使用令牌进行网格操作的过渡,我们需要创建一个服务来获取、刷新和分发供实验人员使用的令牌。该服务将避免实验人员成为获取自身令牌的专家的需求,并更好地保护最敏感的长期凭证。此外,该服务需要具备广泛的可扩展性,因为 Fermilab 托管了许多实验,每个实验都需要自己的凭证。为了解决这些问题,我们创建并部署了 Managed Tokens 服务。该服务使用 Go 语言编写,利用该语言的原生并发原语,能够轻松地在接入新实验时扩展操作。该服务首先使用一组 kerberos keytabs 作为初始凭证,这些凭证存储在运行 Managed Tokens 服务的同一台安全机器上。这些 kerberos 凭证允许该服务通过 condor_vault_storer 使用 htgettoken,将 vault tokens 存储在运行于批处理系统调度机器(HTCondor schedds)上的 HTCondor 凭证管理器(credds)中;同时下载一份本地的、有效期较短的 vault token 副本。随后,kerberos 凭证也被用于将本地存储的 vault tokens 副本分发到实验提交点。
英文摘要:
Fermilab is transitioning authentication and authorization for grid operations to using bearer tokens based on the WLCG Common JWT (JSON Web Token) Profile. One of the functionalities that Fermilab experimenters rely on is the ability to automate batch job submission, which in turn depends on the ability to securely refresh and distribute the necessary credentials to experiment job submit points. Thus, with the transition to using tokens for grid operations, we needed to create a service that would obtain, refresh, and distribute tokens for experimenters' use. This service would avoid the need for experimenters to be experts in obtaining their own tokens and would better protect the most sensitive long-lived credentials. Further, the service needed to be widely scalable, as Fermilab hosts many experiments, each of which would need their own credentials. To address these issues, we created and deployed a Managed Tokens service. The service is written in Go, taking advantage of that language's native concurrency primitives to easily be able to scale operations as we onboard experiments. The service uses as its first credentials a set of kerberos keytabs, stored on the same secure machine that the Managed Tokens service runs on. These kerberos credentials allow the service to use htgettoken via condor_vault_storer to store vault tokens in the HTCondor credential managers (credds) that run on the batch system scheduler machines (HTCondor schedds); as well as downloading a local, shorter-lived copy of the vault token. The kerberos credentials are then also used to distribute copies of the locally-stored vault tokens to experiment submit points.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。