@snyk/jwt-cli 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/bin/jwt-darwin-arm64 +0 -0
- package/bin/jwt-darwin-x64 +0 -0
- package/bin/jwt-linux-arm64 +0 -0
- package/bin/jwt-linux-x64 +0 -0
- package/bin/jwt.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,13 +52,13 @@ eyJhbGciOiJSUzI1NiIsImtpZCI6Imp3dC1jbGkta2V5IiwidHlwIjoiSldUIn0.eyJhdWQiOiJodHRw
|
|
|
52
52
|
You can launch a proxy server that creates a JWT and adds it as `Authorization` header to an HTTP request on the fly:
|
|
53
53
|
```shell
|
|
54
54
|
$ jwt proxy -r localhost:8081
|
|
55
|
-
Proxying HTTP requests from localhost:
|
|
55
|
+
Proxying HTTP requests from localhost:8080 to localhost:8081
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
You can also serve the public key for your signed token via JWKS with:
|
|
59
59
|
```shell
|
|
60
60
|
$ jwt serve
|
|
61
|
-
Starting JWKS server at port
|
|
61
|
+
Starting JWKS server at port 8080
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
This will make a JWKS server available at [http://localhost/.well-known/jwks.json](http://localhost/.well-known/jwks.json).
|
|
@@ -179,7 +179,7 @@ OPTIONS:
|
|
|
179
179
|
--address value, -a value address to serve from (default: localhost)
|
|
180
180
|
--claims value, -c value relative path to a JSON file containing claims
|
|
181
181
|
--identity_file value, -i value relative path to the identity (PEM private key) file (default: ./jwt_private_key.pem)
|
|
182
|
-
--port value, -p value port to serve from (default:
|
|
182
|
+
--port value, -p value port to serve from (default: 8080)
|
|
183
183
|
--remote value, -r value remote address (host[:port]) (default: localhost:8080)
|
|
184
184
|
```
|
|
185
185
|
|
|
@@ -195,7 +195,7 @@ USAGE:
|
|
|
195
195
|
OPTIONS:
|
|
196
196
|
--address value, -a value address to serve from (default: localhost)
|
|
197
197
|
--identity_file value, -i value relative path to the identity (PEM private key) file (default: ./jwt_private_key.pem)
|
|
198
|
-
--port value, -p value port to serve from (default:
|
|
198
|
+
--port value, -p value port to serve from (default: 8080)
|
|
199
199
|
```
|
|
200
200
|
|
|
201
201
|
## Contributing
|
package/bin/jwt-darwin-arm64
CHANGED
|
Binary file
|
package/bin/jwt-darwin-x64
CHANGED
|
Binary file
|
package/bin/jwt-linux-arm64
CHANGED
|
Binary file
|
package/bin/jwt-linux-x64
CHANGED
|
Binary file
|
package/bin/jwt.exe
CHANGED
|
Binary file
|