Skip to content

Commit

Permalink
Merge pull request quarkusio#41601 from michelkaeser/patch-1
Browse files Browse the repository at this point in the history
Use correct property in JWT key file examples
  • Loading branch information
sberyozkin authored Jul 2, 2024
2 parents 6a16336 + 3e3fc97 commit 69ebf8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/security-jwt-build.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ As mentioned above, `iat` (issued at), `exp` (expires at), `jti` (token identifi

[source,properties]
----
smallrye.jwt.sign.key=privateKey.pem
smallrye.jwt.encrypt.key=publicKey.pem
smallrye.jwt.sign.key.location=privateKey.pem
smallrye.jwt.encrypt.key.location=publicKey.pem
----

You can also use MicroProfile `ConfigSource` to fetch the keys from the external services such as link:{vault-guide}[HashiCorp Vault] or other secret managers and use `smallrye.jwt.sign.key` and `smallrye.jwt.encrypt.key` properties instead:
Expand Down

0 comments on commit 69ebf8a

Please sign in to comment.