{"id":48026333,"url":"https://github.com/binbashar/le-tf-vault","last_synced_at":"2026-04-04T13:50:40.456Z","repository":{"id":44152036,"uuid":"333051490","full_name":"binbashar/le-tf-vault","owner":"binbashar","description":"Terraform Vault code for Leverage Reference Architecture, designed under optimal configs for the most popular modern web and mobile applications needs.","archived":false,"fork":false,"pushed_at":"2021-10-19T15:53:20.000Z","size":235,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-05-01T09:51:58.886Z","etag":null,"topics":["bb-le-refarch","binbash-ref-architecture","binbash-refarch","ref-architecture"],"latest_commit_sha":null,"homepage":"http://www.binbash.com.ar/leverage","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binbashar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null},"funding":{"github":"binbashar"}},"created_at":"2021-01-26T10:38:44.000Z","updated_at":"2024-04-28T00:12:33.000Z","dependencies_parsed_at":"2022-09-20T12:44:36.298Z","dependency_job_id":null,"html_url":"https://github.com/binbashar/le-tf-vault","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/binbashar/le-tf-vault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-tf-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-tf-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-tf-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-tf-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binbashar","download_url":"https://codeload.github.com/binbashar/le-tf-vault/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-tf-vault/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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":["bb-le-refarch","binbash-ref-architecture","binbash-refarch","ref-architecture"],"created_at":"2026-04-04T13:50:39.442Z","updated_at":"2026-04-04T13:50:40.443Z","avatar_url":"https://github.com/binbashar.png","language":"HCL","funding_links":["https://github.com/sponsors/binbashar"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./%40doc/figures/binbash.png\"\n    alt=\"binbash\" width=\"250\"/\u003e\n\u003c/div\u003e\n\u003cdiv align=\"right\"\u003e\n  \u003cimg src=\"./%40doc/figures/binbash-leverage-terraform.png\"\n  alt=\"leverage\" width=\"130\"/\u003e\n\u003c/div\u003e\n\n# Leverage Reference Architecture: Terraform Vault\n\n## Overview\nThis repository contains all Terraform configuration files used to create Binbash Leverage Reference Vault\nSolutions Architecture.\n\n## Documentation\nCheck out the [Binbash Leverage Reference Architecture Official Documentation](https://leverage.binbash.com.ar).\n\n\n## Leverage setting\nIn order to set Leverage CLI and Vault set the `config/common.config` file as fallows:\n\n```\n# Project (short name)\nproject         = \"bb\"\n\n# Project (long name)\nproject_long    = \"binbash\"\n\n# AWS Region for DR replicatin (required by the backend but also used for other resources)\nregion_secondary      = \"us-east-2\"\n\n# Account IDs\nshared_account_id     = \"123456789101\"\n\n# Hashicorp Vault private API endpoint\n#\n# If you are on HCP, you can get this from the Admin UI. Otherwise, it will\n# depend on how you set up DNS, TLS and port settings for your self-hosted\n# installation.\nvault_address = \"https://bb-le-shared-vault-cluster.private.vault.XXXXXX.aws.hashicorp.cloud:8200\"\n\n# Hashicorp Vault token\n#\n# Vault token that will be used by Terraform to perform calls to Vault API.\n# During the initial setup, you will have to use a root token. If you are\n# using a self-hosted installation you will get such token after you initialize\n# Vault; if you are using Hashicorp Cloud Platform you can get the token from\n# HCP Admin UI.\n# After the initial setup, and since we integrate Vault to Github for\n# authentication, you will have to follow these steps:\n#   1- Generate a GitHub Personal Access Token: https://github.com/settings/tokens\n#   2- Click “Generate new token“\n#   3- Under scopes, only select \"read:org\", under \"admin:org\"\n#   4- Log in to Vault: vault login -method=github\n#   5- Input the Personal Access Token from the previous step\n#   6- The output should display a Vault token you can use here\n#\n#vault_token = \"s.XXXXXXXXXXXXXXXXXXXXXX.Apshc\"\n```\n\n**NOTE:** Set `project` and `project_long` and `shared_account_id` variables according to your needs. Also take into account you will need to log in to Vault to generate the the `vault_token` needed in the `config/common.config` file.\n\n### Ref Links\n\n#### Vault Terraform Provider\n- https://registry.terraform.io/providers/hashicorp/vault/latest/docs\n- https://registry.terraform.io/providers/hashicorp/vault/latest/docs/resources/github_team\n- https://registry.terraform.io/providers/hashicorp/vault/latest/docs/resources/policy\n\n#### Vault Docs\n- https://www.vaultproject.io/docs/secrets/kv\n- https://www.vaultproject.io/docs/configuration/ui\n\n#### Vault Tutorials\n- https://learn.hashicorp.com/tutorials/vault/getting-started-ui\n- https://learn.hashicorp.com/tutorials/vault/getting-started-intro-ui\n\n#### Useful commands\n\n```\n$ vault secrets list -detailed\n$ vault kv list secrets/\n\n$ vault kv put secrets/foo bar=baz\nSuccess! Data written to: secrets/foo\n\n$ vault kv list secrets/\nKeys\n----\nfoo\n\n$ vault kv get secrets/foo\n=== Data ===\nKey    Value\n---    -----\nbar    baz\nVault UI\n```\n\n---\n# Release Management\n### CircleCi PR auto-release job\n\n\u003cdiv align=\"left\"\u003e\n  \u003cimg src=\"./%40doc/figures/circleci.png\" alt=\"circleci\" width=\"130\"/\u003e\n\u003c/div\u003e\n\n- [**pipeline-job**](https://app.circleci.com/pipelines/github/binbashar/le-tf-vault) (**NOTE:** Will only run after merged PR)\n- [**releases**](https://github.com/binbashar/le-tf-vault/releases)\n- [**changelog**](https://github.com/binbashar/le-tf-vault/blob/master/CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbashar%2Fle-tf-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinbashar%2Fle-tf-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbashar%2Fle-tf-vault/lists"}