@snyk/jwt-cli 0.11.1 → 0.11.2
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 +5 -5
- 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
|
@@ -20,7 +20,7 @@ go install github.com/snyk/jwt-cli/cmd/jwt@v0.8.3
|
|
|
20
20
|
|
|
21
21
|
or using docker:
|
|
22
22
|
```
|
|
23
|
-
docker pull
|
|
23
|
+
docker pull us-docker.pkg.dev/polaris-gcp-gar/polaris/jwt:latest
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
or using nix:
|
|
@@ -69,16 +69,16 @@ When using the provided docker image, you will need to mount a volume to interac
|
|
|
69
69
|
|
|
70
70
|
```shell
|
|
71
71
|
# creating keys under ./keys
|
|
72
|
-
docker run -v $(pwd)/keys:/keys
|
|
72
|
+
docker run -v $(pwd)/keys:/keys us-docker.pkg.dev/polaris-gcp-gar/polaris/jwt:latest keys -o /keys
|
|
73
73
|
|
|
74
74
|
# creating jwt from keys under ./keys
|
|
75
|
-
docker run -v $(pwd)/keys:/keys
|
|
75
|
+
docker run -v $(pwd)/keys:/keys us-docker.pkg.dev/polaris-gcp-gar/polaris/jwt:latest create -i /keys/jwt_private_key.pem
|
|
76
76
|
|
|
77
77
|
# proxying requests adding authorization headers on the fly
|
|
78
|
-
docker run -v $(pwd)/keys:/keys
|
|
78
|
+
docker run -v $(pwd)/keys:/keys us-docker.pkg.dev/polaris-gcp-gar/polaris/jwt:latest proxy -a 0.0.0.0 -i /keys/jwt_private_key.pem -p 8080 -r destination-service:8080
|
|
79
79
|
|
|
80
80
|
# serving jwks from keys under ./keys
|
|
81
|
-
docker run -v $(pwd)/keys:/keys
|
|
81
|
+
docker run -v $(pwd)/keys:/keys us-docker.pkg.dev/polaris-gcp-gar/polaris/jwt:latest serve -a 0.0.0.0 -i /keys/jwt_private_key.pem -p 8080
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
## Validate your JWT
|
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
|