chore: updated readme
This commit is contained in:
parent
d7a0ddc1c2
commit
68d905067f
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ targets:
|
||||||
The tool can also run as a service to generate files for clients:
|
The tool can also run as a service to generate files for clients:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export CONFIGURATOR_JWKS_URL="http://my.openchami.cluster:8443/key"
|
export MAKESHIFT_JWKS_URL="http://my.openchami.cluster:8443/key"
|
||||||
./configurator serve --config config.yaml
|
./configurator serve --config config.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -62,7 +62,7 @@ curl http://127.0.0.1:3334/generate?target=coredhcp -X GET -H "Authorization: Be
|
||||||
./configurator fetch --target coredhcp --host http://127.0.0.1:3334 --cacert ochami.pem
|
./configurator fetch --target coredhcp --host http://127.0.0.1:3334 --cacert ochami.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
This will do the same thing as the `generate` subcommand, but through a GET request where the file contents is returned in the response. The access token is only required if the `CONFIGURATOR_JWKS_URL` environment variable is set when starting the server with `serve`. The `ACCESS_TOKEN` environment variable is passed to `curl` using the `Authorization` header and expects a token as a JWT.
|
This will do the same thing as the `generate` subcommand, but through a GET request where the file contents is returned in the response. The access token is only required if the `MAKESHIFT_JWKS_URL` environment variable is set when starting the server with `serve`. The `ACCESS_TOKEN` environment variable is passed to `curl` using the `Authorization` header and expects a token as a JWT.
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue