This repository was archived by the owner on Mar 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,11 +39,7 @@ Download and extract the [latest release](https://github.com/keylockerbv/secreth
3939./secrethub-http-proxy -C $(cat ~/.secrethub/credential) -p 8080
4040```
4141
42- If upon signup you've chosen to lock your credential with a passphrase:
43-
44- ```
45- ./secrethub-http-proxy -C $(cat ~/.secrethub/credential) -P mycredentialpassphrase -p 8080
46- ```
42+ If upon signup you've chosen to lock your credential with a passphrase, you will get prompted for your passphrase.
4743
4844### Docker
4945
@@ -60,7 +56,13 @@ You can also pass in the credential as an environment variable:
6056docker run -p 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) secrethub/http-proxy
6157```
6258
63- If upon signup you've chosen to lock your credential with a passphrase:
59+ If upon signup you've chosen to lock your credential with a passphrase, run the container with ` -it ` to get prompted for your passphrase.
60+
61+ ```
62+ docker run -it -p 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) secrethub/http-proxy
63+ ```
64+
65+ Alternatively, you can use the ` SECRETHUB_CREDENTIAL_PASSPHRASE ` environment variable:
6466
6567```
6668docker run -p 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) -e SECRETHUB_CREDENTIAL_PASSPHRASE=mycredentialpassphrase secrethub/http-proxy
You can’t perform that action at this time.
0 commit comments