{"id":25115751,"url":"https://github.com/devops-rob/terraform-vault-approle","last_synced_at":"2026-01-30T12:31:31.627Z","repository":{"id":110462832,"uuid":"331292651","full_name":"devops-rob/terraform-vault-approle","owner":"devops-rob","description":"The Vault AppRole Terraform module configures HashiCorp Vault AppRoles and associated policies for machines or applications to authenticate against Vault. ","archived":false,"fork":false,"pushed_at":"2021-01-22T11:40:34.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T20:02:35.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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":"2021-01-20T11:57:26.000Z","updated_at":"2021-01-22T12:51:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"fce1f27e-9bd2-4025-9e7f-0bd88828ecc2","html_url":"https://github.com/devops-rob/terraform-vault-approle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/devops-rob/terraform-vault-approle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-approle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-approle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-approle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-approle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devops-rob","download_url":"https://codeload.github.com/devops-rob/terraform-vault-approle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-approle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28912911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: 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:59.427Z","updated_at":"2026-01-30T12:31:31.609Z","avatar_url":"https://github.com/devops-rob.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vault AppRole Terraform module\n\nThe Vault AppRole Terraform module configures HashiCorp Vault AppRoles and associated policies for machines or applications to authenticate against Vault. For more information on AppRole, refer to the [documentation.](https://www.vaultproject.io/docs/auth/approle)\n\n## Prerequisites\n\nThis module requires the AppRole auth method to be enabled and configured at a path of your choice.\n\n## Usage\n\nThis module supports the creation of Vault policies written in HCL and JSON.  These policies can be stored in any location on the machine running the `terraform apply`.  By default, the module will look in the current working directory for any policy files. This can be changed by setting the `policies_path` variable to the absolute path of your Vault policy files. The module will write these policies into Vault.\n\nThe module also provides the option of adding pre-existing Vault policies, in addition to, or instead of Vault policies defined by this module. To achieve the latter, simply do not create any Vault policy files in the current working directory and do not set the `policies_path` variable.\n\nThe below code snippet is an example of how to use the module:\n\n```hcl\nprovider \"vault\" {\n  address = \"http://127.0.0.1:8200\"\n  token = var.vault_token\n}\n\nvariable \"vault_token\" {\n  description = \"Set this value with the TF_VAR_vault_token environment variable\"\n}\n\nresource \"vault_auth_backend\" \"approle\" {\n  type        = \"approle\"\n  path        = \"approle\"\n}\n\n\nmodule \"example\" {\n  source = \"devops-rob/approle/vault\"\n\n  approle_name = \"example\"\n\n  depends_on = [\n    vault_auth_backend.approle\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-approle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevops-rob%2Fterraform-vault-approle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-rob%2Fterraform-vault-approle/lists"}