forked from eclipse/kuksa.val
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes eclipse#659 Also clarifies jwt token naming for server and need to specify servername for tls
- Loading branch information
1 parent
f3e65e0
commit 1317a34
Showing
3 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# KUKSA Server JWT Tokens | ||
|
||
This directory contains example tokens for communication with the KUKSA Server. | ||
Corresponding tokens for Databroker can be found [here](../../jwt). | ||
|
||
The script [createToken.py](createToken.py) can be used to generate new tokens if needed. | ||
|
||
For historical reasons KUKSA Server tokens use a different pattern for token names. | ||
If you generate new tokens for KUKSA Server you must first run the script and then rename the generated token. | ||
|
||
## Example: Re-generate token with new expiry date | ||
|
||
The current example tokens expire at 2025-12-31. To generate new ones you must first add a new expiry date in | ||
the corresponding `*.json files. Then do: | ||
|
||
``` | ||
./createToken.py single-read.json | ||
mv single-read.token single-read.json.token | ||
``` | ||
|
||
*Note: The renaming is only needed for KUKSA Server tokens, not for KUKSA Databroker tokens!* |