{"id":25115741,"url":"https://github.com/devops-rob/terraform-vault-azure-auth-method","last_synced_at":"2026-02-07T10:02:12.732Z","repository":{"id":110462846,"uuid":"450510130","full_name":"devops-rob/terraform-vault-azure-auth-method","owner":"devops-rob","description":"This Terraform module enables and configures teh Azure auth method in HashiCorp Vault to enable workload authentication from Azure to HashiCorp Vault.","archived":false,"fork":false,"pushed_at":"2022-01-21T13:55:02.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T06:44:42.077Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devops-rob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-21T13:52:04.000Z","updated_at":"2022-01-21T13:52:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"1763f70d-8fe9-4164-9983-1518940603f1","html_url":"https://github.com/devops-rob/terraform-vault-azure-auth-method","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devops-rob/terraform-vault-azure-auth-method","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-azure-auth-method","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-azure-auth-method/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-azure-auth-method/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-azure-auth-method/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devops-rob","download_url":"https://codeload.github.com/devops-rob/terraform-vault-azure-auth-method/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-azure-auth-method/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29191991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-08T02:33:52.504Z","updated_at":"2026-02-07T10:02:12.715Z","avatar_url":"https://github.com/devops-rob.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Auth Method for HashiCorp Vault\n\nThis Terraform module enables and configures teh Azure auth method in HashiCorp Vault to enable workload authentication from Azure to HashiCorp Vault.\n\n## Pre-requisites\n\nThis module requires an Azure application registration, with a linked Service Principal, and a role assignment containing the following permissions:\n- `Microsoft.Compute/virtualMachines/*/read`\n- `Microsoft.Compute/virtualMachineScaleSets/*/read`\n\nAn Azure application registration can be provisioned using the [Azure AD Application Registration for HashiCorp Vault Terraform Module.](https://registry.terraform.io/modules/devops-rob/app-vault/azuread/latest)\n\n## Example usage\n\n```hcl\nprovider \"vault\" {\n    address = \"http://localhost:8200\"\n    token = var.token\n}\n\nprovider \"azuread\" {}\nprovider \"azurerm\" {\n    features {}\n}\n\nvariable \"token\" {}\n\ndata \"azuread_client_config\" \"current\" {}\ndata \"azurerm_subscription\" \"current\" {}\n\nmodule \"app-vault\" {\n  source  = \"devops-rob/app-vault/azuread\"\n  version = \"0.1.2\"\n  \n  app_owners = [\n      data.azuread_client_config.current.object_id\n  ]\n}\n\nmodule \"azure_auth\"{\n    source = \"devops-rob/azure-auth-method/vault\"\n\n    client_id               = module.app-vault.application_id\n    client_secret           = module.app-vault.client_secret\n    tenant_id               = module.app-vault.tenant_id\n    azuread_application_url = sort(module.app-vault.application_uri)[0]\n}\n\n\nresource \"vault_azure_auth_backend_role\" \"azure_developers\" {\n  backend                         = module.azure_auth.path\n  role                            = \"azure-developers\"\n  token_ttl                       = 60\n  token_max_ttl                   = 120\n\n  token_policies                  = [\n      \"default\"\n  ]\n\n  bound_subscription_ids = [\n      data.azurerm_subscription.current.subscription_id\n  ]\n}\n\n```\n\n## License\n\nLicensed under the Apache License, Version 2.0 (the \"License\").\n\nYou may obtain a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an _\"AS IS\"_ basis, without WARRANTIES or conditions of any kind, either express or implied.\n\nSee the License for the specific language governing permissions and limitations under the License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-rob%2Fterraform-vault-azure-auth-method","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevops-rob%2Fterraform-vault-azure-auth-method","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-rob%2Fterraform-vault-azure-auth-method/lists"}