Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giveth/vault-fetch-service
A simple systemd service that fetches Hashicorp Vault Secrets based on your needs
https://github.com/giveth/vault-fetch-service
Last synced: 8 days ago
JSON representation
A simple systemd service that fetches Hashicorp Vault Secrets based on your needs
- Host: GitHub
- URL: https://github.com/giveth/vault-fetch-service
- Owner: Giveth
- License: apache-2.0
- Created: 2023-11-29T13:59:17.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-29T09:41:21.000Z (7 months ago)
- Last Synced: 2024-04-29T10:55:44.065Z (7 months ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hashicorp Vault Fetcher
A simple systemd service that fetches Hashicorp Vault Secrets based on your configurations and needs.
## Getting Started
Clone the repo on your own server:
```
git clone https://github.com/Giveth/vault-fetch-service.git && cd vault-fetch-service
```
## Configuration
1. Make a config copy:
```
cp .env.template .env
```
2. Paste in your own Vault Configurations:
```
## Authentication
VAULT_ADDR='https://vault.mydomain.com'
ENGINE_NAME='example-kv'
VAULT_TOKEN=''
## The path for the secret store paths on vault
SECRET_PATH='my-app/secrets/config'
## The path for configuration files on Server
ENV_TARGET='path/of/the/env/file/on/server/myapps.env'
```
## Installation & Uninstallation
1. Install the service
```
sudo bash install-svc.sh
```
2. Uninstall the service
```
sudo bash uninstall-svc.sh
```