使用 Azure Active Directory 和 HashiCorp Vault SSO 身份验证地形
我希望使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.