Skip to content

Commit

Permalink
autogen(docs): generate cli docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ory-bot committed Dec 28, 2023
1 parent 975f1bc commit 2d56b05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/hydra/cli/hydra-create-jwk.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ hydra create jwk <my-jwk-set> --alg RS256 --use sig
```
--alg string The algorithm to be used to generated they key. Supports: RS256, RS512, ES256, ES512, EdDSA (default "RS256")
-h, --help help for jwk
--public Only return public keys
--use string The intended use of this key. Supports: sig, enc (default "sig")
```

Expand Down
10 changes: 8 additions & 2 deletions docs/hydra/cli/hydra-get-jwk.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@ hydra get jwk set-1 [set-2] ... [flags]
### Examples

```
To get the JSON Web Key Set's secret, run:
To get the JSON Web Key Set's use, run:
hydra get jwk <set-id> | jq -r '.[].use'
To get the JSON Web Key Set as only public keys:
hydra get jwk --public <set-id>'
```

### Options

```
-h, --help help for jwk
-h, --help help for jwk
--public Only return public keys
```

### Options inherited from parent commands
Expand Down

0 comments on commit 2d56b05

Please sign in to comment.