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

Commit 6b45392

Browse files
committed
Passphrase arg docs
1 parent 9488ef1 commit 6b45392

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,16 @@ Download and extract the [latest release](https://github.com/keylockerbv/secreth
1515
./secrethub-proxy -C $(cat ~/.secrethub/credential) -p 8080
1616
```
1717

18+
If upon signup you've chosen to lock your credential with a passphrase:
19+
20+
```
21+
./secrethub-proxy -C $(cat ~/.secrethub/credential) -P mycredentialpassphrase -p 8080
22+
```
23+
1824
### Docker
1925

20-
You can also run the proxy as a [Docker container](https://hub.docker.com/r/secrethubio/proxy). Assuming you have a SecretHub credential stored in the default `$HOME/.secrethub` location, you can run it with the credential mounted as volume:
26+
You can also run the proxy as a [Docker container](https://hub.docker.com/r/secrethubio/proxy).
27+
Assuming you have a SecretHub credential stored in the default `$HOME/.secrethub` location, you can run it with the credential mounted as volume:
2128

2229
```
2330
docker run -p 8080:8080 --name secrethub -v $HOME/.secrethub:/secrethub secrethubio/proxy
@@ -29,6 +36,12 @@ You can also pass in the credential as an environment variable:
2936
docker run -p 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) secrethubio/proxy
3037
```
3138

39+
If upon signup you've chosen to lock your credential with a passphrase:
40+
41+
```
42+
docker run -p 8080:8080 --name secrethub -e SECRETHUB_CREDENTIAL=$(cat $HOME/.secrethub/credential) -e SECRETHUB_CREDENTIAL_PASSPHRASE=mycredentialpassphrase secrethubio/proxy
43+
```
44+
3245
## Usage
3346

3447
With the proxy up and running, you can perform the following HTTP requests:

0 commit comments

Comments
 (0)