Skip to content

Commit ea48331

Browse files
committed
docs: update jwks generation commands to separate public/private keys
1 parent 452c3f9 commit ea48331

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/bulk-exports.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,19 @@ You can generate a JWKS using the RS384 algorithm and a random ID by running the
155155
(Make sure you have `jose` installed first.)
156156

157157
```sh
158-
jose jwk gen -s -i "{\"alg\":\"RS384\",\"kid\":\"`uuidgen`\"}" -o rsa.jwks
158+
jose jwk gen -s -i "{\"alg\":\"RS384\",\"kid\":\"`uuidgen`\"}" -o private.jwks
159+
jose jwk pub -s -i private.jwks -o public.jwks
159160
```
160161

161-
Then give `rsa.jwks` to your FHIR server and to Cumulus ETL (details on that below).
162+
Then give `public.jwks` to your FHIR server and `private.jwks` to Cumulus ETL (details on that below).
162163

163164
### SMART Arguments
164165

165166
You'll need to pass two new arguments to Cumulus ETL:
166167

167168
```sh
168169
--smart-client-id=YOUR_CLIENT_ID
169-
--smart-jwks=/path/to/rsa.jwks
170+
--smart-jwks=/path/to/private.jwks
170171
```
171172

172173
You can also give `--smart-client-id` a path to a file with your client ID,

0 commit comments

Comments
 (0)