Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.

Commit db9869d

Browse files
authored
Mention passphrase prompt in README
1 parent 87b3027 commit db9869d

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff 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:
6056
docker 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
```
6668
docker run -p 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) -e SECRETHUB_CREDENTIAL_PASSPHRASE=mycredentialpassphrase secrethub/http-proxy

0 commit comments

Comments
 (0)