Commit 7cf44aab authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

doc: fix debug instructions

parent dccee1fb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ You might want to test/debug whether you have the right secret ID, role ID, secr
Simply run the Docker image with:

```bash
docker run -i --rm -it -p 8080:80 \
docker run -i --rm -it -p 80:80 \
    --env VAULT_BASE_URL=$VAULT_BASE_URL \
    --env VAULT_SECRET_ID=$VAULT_SECRET_ID \
    --env VAULT_ROLE_ID=$VAULT_ROLE_ID \
@@ -135,8 +135,8 @@ If you need to override other variables, simply use the `--env` CLI option.
Then you may request the API using `curl` or `wget` as follows:

```bash
curl -sSf "http://localhost:8080/api/secrets/b7ecb6ebabc231/my-backend/prod?field=token"
wget -O - "http://vault-secrets-provider/api/secrets/b7ecb6ebabc231/my-backend/prod?field=token"
curl -sSf "http://localhost/api/secrets/b7ecb6ebabc231/my-backend/prod?field=token"
wget -O - "http://localhost/api/secrets/b7ecb6ebabc231/my-backend/prod?field=token"
```

_et voilà_ :)