Skip to content

Commit

Permalink
Fix secret options v4 example (it's setBuffer not setSecret) (#78)
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Nuno Santos <[email protected]>
  • Loading branch information
pn-santos authored Jun 19, 2023
1 parent 3a55979 commit 15d0f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asciidoc/modules/con_mg_changes-in-key-management.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The following example shows how methods of `PubSecKeyOptions` class should be us
----
new PubSecKeyOptions()
.setAlgorithm("HS256")
.setSecretKey("password")
.setBuffer("password")
----

== Updates in public secret keys management
Expand Down

0 comments on commit 15d0f2e

Please sign in to comment.