{"id":15638116,"url":"https://github.com/mp911de/spring-cloud-vault-config-samples","last_synced_at":"2025-04-05T03:07:24.204Z","repository":{"id":54853266,"uuid":"57218916","full_name":"mp911de/spring-cloud-vault-config-samples","owner":"mp911de","description":"Examples for Spring Vault and Spring Cloud Vault Config","archived":false,"fork":false,"pushed_at":"2024-12-11T10:37:45.000Z","size":452,"stargazers_count":97,"open_issues_count":3,"forks_count":68,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-29T02:04:10.413Z","etag":null,"topics":["samples","spring","spring-cloud-vault","spring-vault","vault"],"latest_commit_sha":null,"homepage":"https://github.com/spring-cloud/spring-cloud-vault-config","language":"Java","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/mp911de.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-04-27T14:15:05.000Z","updated_at":"2024-12-19T23:03:21.000Z","dependencies_parsed_at":"2025-01-17T03:06:01.946Z","dependency_job_id":"fbd7136c-ff89-4fff-a3ac-6a1a1cc29878","html_url":"https://github.com/mp911de/spring-cloud-vault-config-samples","commit_stats":{"total_commits":124,"total_committers":3,"mean_commits":"41.333333333333336","dds":"0.016129032258064502","last_synced_commit":"1ce6fc642a9efaabeccf667ea7f56e849aa5f255"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mp911de%2Fspring-cloud-vault-config-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mp911de%2Fspring-cloud-vault-config-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mp911de%2Fspring-cloud-vault-config-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mp911de%2Fspring-cloud-vault-config-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mp911de","download_url":"https://codeload.github.com/mp911de/spring-cloud-vault-config-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280263,"owners_count":20912967,"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":["samples","spring","spring-cloud-vault","spring-vault","vault"],"created_at":"2024-10-03T11:18:48.661Z","updated_at":"2025-04-05T03:07:24.172Z","avatar_url":"https://github.com/mp911de.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Spring Vault Examples\n============================\n\nThis repository contains examples using [Spring Vault](https://github.com/spring-projects/spring-vault) and [Spring Cloud Vault](https://github.com/spring-cloud-incubator/spring-cloud-vault-config).\n\n## Setup\n\nOpen a console in the examples root directory and execute\nthe following commands to setup Vault:\n\n```bash\n$ src/test/bash/create_certificates.sh # Create SSL certificates\n$ src/test/bash/install_vault.sh # Download and unzip vault\n$ src/test/bash/local_run_vault.sh \u0026\n```\n\nVault is now running in dev-mode listening on\nhttps://localhost:8200 and http://localhost:8201.\n\nVault requires some configuration before you can run the examples.\n\n```bash\n$ source src/test/bash/env.sh\n$ src/test/bash/setup_examples.sh\n```\n\nThe root token is set to `00000000-0000-0000-0000-000000000000`\nand Vault is running in dev mode.\n\nYou can use Vault now from the console or run the examples. Check\nout the example-specific readme's for further instructions/requirements.\n\nVault runs with SSL enabled so make sure the application runs\nin the current directory so it can find `work/keystore.jks`.\n\n## Using Vault from the Command Line\n\nYou can use a shortcut to setup the token and Vault CLI environment by sourcing\n`vault/env.sh`\n\n```bash\n$ source src/test/bash/env.sh # Set Vault address, Token and CA path\n```\n\n## Write Data to Vault\n\nWrites the key-value pair `mykey=value` to the path `secret/my-spring-boot-app`.\n\n```\n$ ./vault write secret/my-spring-boot-app mykey=value\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp911de%2Fspring-cloud-vault-config-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmp911de%2Fspring-cloud-vault-config-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmp911de%2Fspring-cloud-vault-config-samples/lists"}