Skip to content

Commit

Permalink
Fixing examples for using KMS via Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
martintatum authored Jan 13, 2025
1 parent 48b15c8 commit 842f434
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ TATUM_KMS_DEBUG_MODE=true/false/1/0
```
cd $HOME
```
1. Use pre-created ```.env``` file to configure Tatum KMS via ```--envFile .env```:
1. Use pre-created ```.env``` file to configure Tatum KMS via ```--env-file .env```:
1. Map the Docker volume to the local storage (your home folder).
For more details, refer to the [Docker user documentation](https://docs.docker.com/storage/volumes/).
Expand All @@ -184,9 +184,9 @@ TATUM_KMS_DEBUG_MODE=true/false/1/0
To interactively communicate with KMS and run various [KMS commands](#kms-commands), use the `docker run` command:
```
docker run -it --envFile .env -v $HOME:/root/.tatumrc tatumio/tatum-kms --help
docker run -it --envFile .env -v $HOME:/root/.tatumrc tatumio/tatum-kms generatemanagedwallet BTC
docker run -it --envFile .env -v $HOME:/root/.tatumrc tatumio/tatum-kms storemanagedprivatekey BTC
docker run -it --env-file .env -v $HOME/.tatumrc:/home/node/.tatumrc tatumio/tatum-kms --help
docker run -it --env-file .env -v $HOME/.tatumrc:/home/node/.tatumrc tatumio/tatum-kms generatemanagedwallet BTC
docker run -it --env-file .env -v $HOME/.tatumrc:/home/node/.tatumrc tatumio/tatum-kms storemanagedprivatekey BTC
```
>**NOTE:** You can shorten the command syntax and use it as follows:
Expand Down Expand Up @@ -223,7 +223,7 @@ tatum-kms daemon
```
or
```
docker run -d --envFile .env -v $HOME:/root/.tatumrc tatumio/tatum-kms daemon
docker run -d --env-file .env -v $HOME:/root/.tatumrc tatumio/tatum-kms daemon
```
When KMS runs as a daemon, it periodically checks for any new pending transactions to sign.
Expand Down

0 comments on commit 842f434

Please sign in to comment.