
Hashicorp Vault
Vault container in Railway
vault-railway-template
FournyP/vault-railway-template
Just deployed
/vault/file
Once the project deployed, you must init it :
1- Generate a domain to access it outside of railway.
2- Download vault
cli
3- Run : $env:VAULT_ADDR="https://${{GENERATED_DOMAIN}}"
4- Run : vault operator init
5- Store unseal keys securly ! For more information: https://developer.hashicorp.com/vault/docs/concepts/seal
6- Run $env:VAULT_TOKEN="${{GENERATED_TOKEN}}"
7- Mount services you need (Kvv1, Kvv2, etc...)
8- Create tokens for your services as you need
9- Everything you want...
10- Revoke root token (You can regenerate one using unseal keys, see: https://developer.hashicorp.com/vault/tutorials/operations/generate-root)
11- Remove generated domain (use private network in your railway project)
Template Content
vault-railway-template
FournyP/vault-railway-template