{"id":25115716,"url":"https://github.com/devops-rob/terraform-vault-gcp-secrets-engine","last_synced_at":"2026-01-17T22:15:58.904Z","repository":{"id":110462951,"uuid":"331710834","full_name":"devops-rob/terraform-vault-gcp-secrets-engine","owner":"devops-rob","description":"A Terraform module to configures HashiCorp Vault GCP secrets engine.","archived":false,"fork":false,"pushed_at":"2021-01-22T11:47:15.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T11:49:07.594Z","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-21T18:01:39.000Z","updated_at":"2022-02-18T21:14:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"54273a4f-13b2-4b2f-90ec-1675e2a1e9ae","html_url":"https://github.com/devops-rob/terraform-vault-gcp-secrets-engine","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/devops-rob/terraform-vault-gcp-secrets-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-gcp-secrets-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-gcp-secrets-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-gcp-secrets-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-gcp-secrets-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devops-rob","download_url":"https://codeload.github.com/devops-rob/terraform-vault-gcp-secrets-engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-rob%2Fterraform-vault-gcp-secrets-engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28519880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"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:48.460Z","updated_at":"2026-01-17T22:15:58.886Z","avatar_url":"https://github.com/devops-rob.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Module: Vault GCP Secrets Engine\n\nA Terraform module to configures HashiCorp Vault GCP secrets engine.  \n\n## Overview \n\nThis module will enable operators to implement dynamic credential provisioning for their GCP environments.\n\n## GCP Requirements\n\n- A GCP project.\n- A GCP service account.\n- The service account needs the following permissions:\n    - iam.serviceAccountKeys.create\n    - iam.serviceAccountKeys.delete\n    - iam.serviceAccountKeys.get\n    - iam.serviceAccountKeys.list\n    - iam.serviceAccounts.create\n    - iam.serviceAccounts.delete\n    - iam.serviceAccounts.get\n    - resourcemanager.projects.getIamPolicy\n    - resourcemanager.projects.setIamPolicy\n- A GCP credentials file for the service account.\n\nFor information about Service Accounts, Permissions and Roles, refer to the [Google Cloud documentation](https://cloud.google.com/iam/docs/creating-managing-service-accounts)\n\n***NOTE: Credentials files should not be committed to Version Control systems.***\n\n## Usage example\n\n```hcl\nprovider \"vault\" {\n  address = \"http://localhost:8200\"\n  token   = var.vault_token\n}\n\nvariable \"vault_token\" {\n  description = \"Set this value using the 'TF_VAR_vault_token' environment variable.\"\n}\n\nvariable \"project\" {\n  default     = \"test\"\n  description = \"GCP project name\"\n}\n\nmodule \"gcp_defaults\" {\n  source = \"devops-rob/gcp-secrets-engine/vault\"\n\n  path             = \"gcp\"\n  gcp_project      = var.project\n  gcp_roleset_name = \"key-role\"\n  gcp_credentials  = file(\"credentials.json\")\n  gcp_secret_type  = \"service_account_key\"\n\n  gcp_bindings = [\n    {\n      resource = \"//cloudresourcemanager.googleapis.com/projects/${var.project}\"\n      roles = [\n        \"roles/viewer\"\n      ]\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-gcp-secrets-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevops-rob%2Fterraform-vault-gcp-secrets-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-rob%2Fterraform-vault-gcp-secrets-engine/lists"}