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 297ed54 commit 656ffef
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=08141073f8a519b93255153c334438bb9cd998eb9b51f9723cc07931655c90df
FEDERATOR_KEY=151e1c9548ebed70e3d4189bf9d7ece0ed28b35341d87f914ab25cef07a7bbb4
VAULT_PATH=http://localhost:8200/v1/ethereum/accounts
VAULT_API_TOKEN=hvs.CAESIKoQdn2Z917RZ_6NXa1dyweF3nWhQx4Bw8HEOAPoPD5xGh4KHGh2cy50b3RET2dBOGl3WTB0TGo1QmNqRkU5d3k
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 656ffef

Please sign in to comment.