{"id":17252161,"url":"https://github.com/eagletmt/hako-vault","last_synced_at":"2025-07-29T19:33:43.610Z","repository":{"id":56875694,"uuid":"78722170","full_name":"eagletmt/hako-vault","owner":"eagletmt","description":"Provide variables from Vault to hako","archived":false,"fork":false,"pushed_at":"2017-07-20T08:32:45.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-01T07:41:08.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/eagletmt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-12T07:57:20.000Z","updated_at":"2021-12-08T04:43:50.000Z","dependencies_parsed_at":"2022-08-20T22:00:45.104Z","dependency_job_id":null,"html_url":"https://github.com/eagletmt/hako-vault","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fhako-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fhako-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fhako-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fhako-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eagletmt","download_url":"https://codeload.github.com/eagletmt/hako-vault/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228042778,"owners_count":17860488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-15T06:53:13.030Z","updated_at":"2024-12-04T04:22:04.766Z","avatar_url":"https://github.com/eagletmt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hako::EnvProviders::Vault\n\nProvide variables from [Vault](https://www.vaultproject.io/) to [hako](https://github.com/eagletmt/hako)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'hako-vault'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install hako-vault\n\n## Usage\n### Store secret values to Vault\n\n```\n% export VAULT_ADDR=https://vault.example.com:8200\n% echo -n '{\"value\": \"Secret value from Vault\"}' | vault write secret/hako/vault-sample/test_message -\n```\n\n### Configure hako application\n\nSet `VAULT_TOKEN` environment variable when running hako commands.\n\n```yaml\nenv:\n  $providers:\n    - type: vault\n      addr: https://vault.example.com:8200\n      directory: hako/vault-sample\n  PORT: 3000\n  MESSAGE: '#{test_message}'    # \"Secret value from Vault\" will be injected\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/eagletmt/hako-vault.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagletmt%2Fhako-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feagletmt%2Fhako-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagletmt%2Fhako-vault/lists"}