{"id":13584536,"url":"https://github.com/maxyermayank/vault-examples","last_synced_at":"2025-09-04T03:36:06.027Z","repository":{"id":93880897,"uuid":"144789889","full_name":"maxyermayank/vault-examples","owner":"maxyermayank","description":"vault-consul-swarm-cluster","archived":false,"fork":false,"pushed_at":"2018-08-18T22:44:54.000Z","size":6697,"stargazers_count":10,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-07-17T06:50:15.890Z","etag":null,"topics":["consul","credential-manager","credential-storage","credentials","docker","docker-consul","docker-swarm","docker-swarm-cluster","hashicorp","hashicorp-consul","hashicorp-vault","vault"],"latest_commit_sha":null,"homepage":null,"language":null,"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/maxyermayank.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}},"created_at":"2018-08-15T01:25:47.000Z","updated_at":"2024-04-03T20:09:36.000Z","dependencies_parsed_at":"2023-04-07T01:33:19.395Z","dependency_job_id":null,"html_url":"https://github.com/maxyermayank/vault-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxyermayank/vault-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxyermayank%2Fvault-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxyermayank%2Fvault-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxyermayank%2Fvault-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxyermayank%2Fvault-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxyermayank","download_url":"https://codeload.github.com/maxyermayank/vault-examples/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxyermayank%2Fvault-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273548080,"owners_count":25125221,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["consul","credential-manager","credential-storage","credentials","docker","docker-consul","docker-swarm","docker-swarm-cluster","hashicorp","hashicorp-consul","hashicorp-vault","vault"],"created_at":"2024-08-01T15:04:19.756Z","updated_at":"2025-09-04T03:36:05.967Z","avatar_url":"https://github.com/maxyermayank.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# vault-consul-swarm-cluster\n\n### Prerequisite:\n1. Docker\n2. Docker Swarm\n\n### Enable Docker Swarm locally\n```\ndocker swarm init\n```\n\n### List Docker Swarm Node\n```\ndocker node ls\n```\n\n### Deploy Stack\n```\nenv $(cat .env | grep ^[A-Z] | xargs) docker stack deploy -c stack.yml devops\n```\n\n### Remove Stack\n```\ndocker stack rm devops\n```\n\n### List Docker Services\n```\ndocker service ls\n```\n\n### Deploy using Docker-compose\n#### Deploy\n```\ndocker-compose up -d\n```\n\n#### Terminate\n```\ndocker-compose down\n```\n\n\n### Access Vault UI\n```\nopen http://localhost:8200\n```\n\n![](images/init.png)\n![](images/unseal.png)\n![](images/login.png)\n![](images/vaultcli.png)\n\n### Access Consul UI\n```\nopen http://localhost:8500\n```\n![](images/consul.png)\n![](images/consulkv.png)\n\n\n### Static credential\n![](images/staticcred.png)\n\n### Dynamic credential\n![](images/dynamiccred.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxyermayank%2Fvault-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxyermayank%2Fvault-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxyermayank%2Fvault-examples/lists"}