-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ramananda Panda
committed
Feb 23, 2019
1 parent
4155021
commit 7758438
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,29 @@ | ||
# balance-transfer-vault | ||
fork of https://github.com/hyperledger/fabric-samples/tree/release-1.4/balance-transfer with implimentation of hashicorp' vault | ||
|
||
if you are getting error as | ||
Some Times you may get error ```Error: Status 404``` even in setting values. just open another terminal tab/window run: | ||
|
||
``` | ||
export VAULT_TOKEN=<TOKEN> | ||
export VAULT_ADDRESS='http(s)://<HOST>:<PORT>' | ||
```` | ||
Then run the following command: | ||
``` | ||
vault secrets disable secret | ||
vault secrets enable -version=1 -path=secret kv | ||
``` | ||
This example requuires to vault instanses. Assuming vault is already installed | ||
to run multiple instanses | ||
run : | ||
``` | ||
vault server -dev | ||
``` | ||
and in a separate tab | ||
``` | ||
vault server -dev -dev-listen-address=127.0.0.1:8300 | ||
``` |