Skip to content

Commit

Permalink
add-vault-token-bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoiovlabs committed Jul 12, 2022
1 parent 0ab716e commit e298bd2
Show file tree
Hide file tree
Showing 6 changed files with 2,053 additions and 1,056 deletions.
22 changes: 22 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: '3.3'
services:
vault:
environment:
- VAULT_DEV_ROOT_TOKEN_ID=root
- VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:1234
- SHA_256=4ed633faa2a9e737bb504bed051496b8d5cf8fd99da7327ab04a7476e4bfa1dc
volumes:
- ./vault/config:/vault/config
- ./vault/policies:/vault/policies
- ./vault/data:/vault/data
- ./vault/plugins:/vault/plugins
- ./vault/script:/vault/script
cap_add:
- IPC_LOCK
ports:
- '8200:1234'
container_name: poc-vault
image: vault
command: vault server -dev -config=/vault/config/vault.hcl


5 changes: 4 additions & 1 deletion federator/.env.example
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
FEDERATOR_KEY=**REMOVED**
FEDERATOR_KEY=**REMOVED**
VAULT_PATH=http://localhost:8200/v1/ethereum/accounts
VAULT_API_TOKEN=**REMOVED**
BLACK_LIST="/blacklist.json"
1 change: 1 addition & 0 deletions federator/blacklist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Loading

0 comments on commit e298bd2

Please sign in to comment.