{"id":21178008,"url":"https://github.com/hexedpackets/chef-vault","last_synced_at":"2026-03-17T01:41:32.084Z","repository":{"id":31188467,"uuid":"34749084","full_name":"hexedpackets/chef-vault","owner":"hexedpackets","description":"Chef cookbook for managing Vault.","archived":false,"fork":false,"pushed_at":"2016-03-02T21:16:49.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T08:03:10.201Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/hexedpackets.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-28T18:42:51.000Z","updated_at":"2017-09-16T20:32:48.000Z","dependencies_parsed_at":"2022-09-09T03:41:16.179Z","dependency_job_id":null,"html_url":"https://github.com/hexedpackets/chef-vault","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hexedpackets/chef-vault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fchef-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fchef-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fchef-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fchef-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexedpackets","download_url":"https://codeload.github.com/hexedpackets/chef-vault/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexedpackets%2Fchef-vault/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264504590,"owners_count":23618825,"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-11-20T17:19:28.803Z","updated_at":"2026-03-17T01:41:32.039Z","avatar_url":"https://github.com/hexedpackets.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chef-vault\nChef cookbook for managing [Vault](https://vaultproject.io).\n\nIn client mode, only the Vault binary will be installed.\n\nIn server mode, the binary will be installed, configured, and started as server.\nWARNING: The default behavior of the server is to start unconfigured. You must run `vault init` to generate the unseal keys and the initial root token.\n\n\n###Requirements\n#### Platforms\n- Debian/Ubuntu\n\n#### Chef\n- Chef 11+\n\n#### Cookbooks\n- none\n\n### Attributes\n\n#### vault::default\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eKey\u003c/th\u003e\n    \u003cth\u003eType\u003c/th\u003e\n    \u003cth\u003eDescription\u003c/th\u003e\n    \u003cth\u003eDefault\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ctt\u003e[:vault][:bin_dir]\u003c/tt\u003e\u003c/td\u003e\n    \u003ctd\u003eString\u003c/td\u003e\n    \u003ctd\u003eDirectory to install the vault binary.\u003c/td\u003e\n    \u003ctd\u003e\u003ctt\u003e/usr/local/bin\u003c/tt\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ctt\u003e[:vault][:version]\u003c/tt\u003e\u003c/td\u003e\n    \u003ctd\u003eString\u003c/td\u003e\n    \u003ctd\u003eVersion of Vault to install.\u003c/td\u003e\n    \u003ctd\u003e\u003ctt\u003e0.1.0\u003c/tt\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ctt\u003e[:vault][:mode]\u003c/tt\u003e\u003c/td\u003e\n    \u003ctd\u003eString\u003c/td\u003e\n    \u003ctd\u003eIndicates whether to install just the vault binary, or also start it as a server. Valud values are \"client\" and \"server\".\u003c/td\u003e\n    \u003ctd\u003e\u003ctt\u003eclient\u003c/tt\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\n\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ctt\u003e[:vault][:server][:config]\u003c/tt\u003e\u003c/td\u003e\n    \u003ctd\u003eString\u003c/td\u003e\n    \u003ctd\u003eLocation of the configuration file.\u003c/td\u003e\n    \u003ctd\u003e\u003ctt\u003e/etc/vault.hcl\u003c/tt\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ctt\u003e[:vault][:server][:service_name]\u003c/tt\u003e\u003c/td\u003e\n    \u003ctd\u003eString\u003c/td\u003e\n    \u003ctd\u003eName of the service as seen by the init system.\u003c/td\u003e\n    \u003ctd\u003e\u003ctt\u003evault\u003c/tt\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ctt\u003e[:vault][:server][:init_type]\u003c/tt\u003e\u003c/td\u003e\n    \u003ctd\u003eString\u003c/td\u003e\n    \u003ctd\u003eInit system to run the server under. Currenly only upstart is supported.\u003c/td\u003e\n    \u003ctd\u003e\u003ctt\u003eupstart\u003c/tt\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ctt\u003e[:vault][:server][:oom_score]\u003c/tt\u003e\u003c/td\u003e\n    \u003ctd\u003eInteger\u003c/td\u003e\n    \u003ctd\u003eOOM score adjustment in the init config.\u003c/td\u003e\n    \u003ctd\u003e\u003ctt\u003e-100\u003c/tt\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ctt\u003e[:vault][:server][:backends]\u003c/tt\u003e\u003c/td\u003e\n    \u003ctd\u003eHash\u003c/td\u003e\n    \u003ctd\u003eName of backends to enable along with their configurations.\u003c/td\u003e\n    \u003ctd\u003e\u003ctt\u003e{\n  consul: {\n    address: \"demo.consul.io:80\",\n    path: \"vault\"\n  }\n}\u003c/tt\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003ctt\u003e[:vault][:server][:listeners]\u003c/tt\u003e\u003c/td\u003e\n    \u003ctd\u003eHash\u003c/td\u003e\n    \u003ctd\u003eName of listeners to enable along with their configurations.\u003c/td\u003e\n    \u003ctd\u003e\u003ctt\u003e{\n  tcp: {\n    address: \"127.0.0.1:8200\",\n    tls_cert_file: \"/etc/ssl/certificate.crt\",\n    tls_key_file: \"/etc/ssl/key.pem\"\n  }\n}\u003c/tt\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n### Usage\n#### vault::default\n\nJust include `vault` in your node's `run_list`. This will load either `vault::client` or `vault::server` depending on the value of `node[:vault][:mode]`.\n\n```json\n{\n  \"name\":\"my_node\",\n  \"run_list\": [\n    \"recipe[vault]\"\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexedpackets%2Fchef-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexedpackets%2Fchef-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexedpackets%2Fchef-vault/lists"}