{"id":18445773,"url":"https://github.com/voronenko/docker_vault","last_synced_at":"2025-04-15T01:16:21.355Z","repository":{"id":145345341,"uuid":"65096621","full_name":"Voronenko/docker_vault","owner":"Voronenko","description":"Minimal vault container for unit testing ","archived":false,"fork":false,"pushed_at":"2018-07-04T11:01:37.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T01:16:02.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Voronenko.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-08-06T18:35:06.000Z","updated_at":"2018-07-04T11:01:38.000Z","dependencies_parsed_at":"2023-07-03T09:17:13.125Z","dependency_job_id":null,"html_url":"https://github.com/Voronenko/docker_vault","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fdocker_vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fdocker_vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fdocker_vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fdocker_vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Voronenko","download_url":"https://codeload.github.com/Voronenko/docker_vault/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986315,"owners_count":21194025,"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-06T07:07:14.554Z","updated_at":"2025-04-15T01:16:21.346Z","avatar_url":"https://github.com/Voronenko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Vault for automated testing  https://github.com/Voronenko/hashi_vault_utils\n\nThis Docker Vault container is using [Alpine Linux](https://hub.docker.com/_/alpine/) minimal image and [Hashicorp's Vault](https://vaultproject.io/).\n\nThe  latest build is always available at [voronenko/vault](https://registry.hub.docker.com/u/voronenko/vault/):\n\n`docker pull voronenko/vault`\n\n### Starting dev server\n\nStart vault server in a **dev mode**:\n\n```\ndocker run -d \\\n      -p 8200:8200 \\\n      --hostname vault \\\n      --name vault voronenko/vault\n```\n\nby default ROOT_TOKEN will be abfd0e04-7922-6850-e1bd-f02c325f1e2c\n\nyou can change it by passing environment variable  EXTERNAL_VAULT_TOKEN to container.\nIt is recommended to export this token as environment variable VAULT_TOKEN too.\n\nTo initialize Vault, on your workstation with `vault` installed, first we need to export vault ip address.\nUse  `docker inspect -f '{{ .NetworkSettings.IPAddress }}' vault` command to get the vault container internal ip address.\n\nYou should export this address as VAULT_ADDR\n```\n# The address must start with protocol specifier!\nexport VAULT_ADDR='http://a.b.c.d:8200'\n```\n\nNote: this is dev vault image, thus the empty initialized and unsealed **inmem** vault data store will be automatically created each run.\n\n\nTo use a vault client from a container you can create a wrapper function like bellow:\n\n```\nvault () { docker run -it --rm -e VAULT_ADDR --entrypoint=/bin/sh voronenko/vault -c \"vault auth $VAULT_TOKEN \u0026\u003e/dev/null; vault $*\" }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoronenko%2Fdocker_vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoronenko%2Fdocker_vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoronenko%2Fdocker_vault/lists"}