使用 Azure Active Directory 和 HashiCorp Vault SSO 身份验证地形

发布于 2025-01-17 04:26:39 字数 502 浏览 3 评论 0原文

我希望使用 Azure Active Directory(使用 OIDC)设置 HashiCorp Vault 单点登录身份验证并通过 Terraform 进行配置。

现在,我在网上遇到了一些有用的示例,但到目前为止还没有一个示例为我提供有关如何实现以下目标的详细分步指导:

设置和配置 Azure Active Directory 组件,包括:

  • 应用程序注册
  • 声明/令牌
  • 服务主体

在我的本地主机上设置和配置 Vault。

Terraform 代码示例使我能够配置所需的 Azure 资源 除其他外,还可以实现以下目标:

  • 配置 OIDC
  • 创建 Azure 角色、组等
  • 在 Vault 中读/写机密
  • 通过 OIDC 成功调用并验证对 Vault 的登录

任何人都能够为我指明正确的方向,特别是任何包含详细信息的工作示例、分步脚本/代码、指南或说明?

I am looking to set up a HashiCorp Vault single sign-on authentication using Azure Active Directory (with OIDC) and provisioned through Terraform.

Now, I’ve come across a few useful examples online, but none so far has provided me with detailed, step-by-step guidance on how to achieve the following:

Set up and configure Azure Active Directory components including:

  • App Registration
  • Claims/Tokens
  • Service Principals

Set up and configuration of Vault on my localhost.

Terraform code examples to enable me provision the required Azure resources to
achieve among others, the following:

  • Configure OIDC
  • Create an Azure Role, Groups, etc
  • Read/Write secrets in Vault
  • Successfully invoke and authenticate a login to Vault via OIDC

Anyone able to point me in the right direction, particularly towards any working examples with detailed, step-by-step scripts/code, guide or instructions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

美人骨 2025-01-24 04:26:39

Hashicorp 在此处使用 OIDC SSO 编写了一篇关于 AzureAD 的相当全面的文章: https://developer.hashicorp.com/vault/tutorials/auth-methods/oidc-auth-azure

我不确定它是否提供了您的一切正在寻找,但这是迄今为止我发现的最全面的演练。

Hashicorp has written a pretty comprehensive writeup on AzureAD with OIDC SSO here: https://developer.hashicorp.com/vault/tutorials/auth-methods/oidc-auth-azure

I'm not sure it provides everything you are looking for, but its the most comprehensive walkthrough Ive found so far.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文