Generate & Share OneTime URLs securely with Vault backend.
1.0K
Description:
Simple tool used to generate short-ttl one-time secrets.
It uses Vault's wrap/unwrap tools.
Stateless!
Specifically designed for intra-net/self-hosting. Don't mind the lame interface or my non-existing Django skills :)
Prequisites:
Prequisites:
docker-vm from now on.docker-vmSetup:
connect to docker-vm machine and create your work directory
ssh docker-vm
# Preparing structure
mkdir -p qts && cd qts
git clone https://gitlab.com/qts.cloud/showcase/docker/onetime.git
cd onetime
Check out docker-compose.yml
version: "3"
services:
onetime:
image: ibacalu/onetime:latest
environment:
VAULT_TOKEN: ${VAULT_TOKEN}
VAULT_ADDR: ${VAULT_ADDR}
restart: always
ports:
- 8080:80
Start OneTime
# Export Vault Config
export VAULT_TOKEN='s.XXXXXXXXX'
export VAUTL_ADDR='http://127.0.0.1:8200'
# Launch container
docker-compose up -d # Run the container as a daemon
docker-compose logs -f onetime # Follow the logs
[...]
onetime_1 | [INFO] Starting gunicorn 20.0.4
onetime_1 | [INFO] Listening at: http://0.0.0.0:80 (1)
onetime_1 | [INFO] Using worker: sync
onetime_1 | [INFO] Booting worker with pid: 8
[...]
Content type
Image
Digest
Size
38.7 MB
Last updated
about 6 years ago
docker pull ibacalu/onetime