From 3eab302f816068583fb963bbbd18a57f2c669389 Mon Sep 17 00:00:00 2001 From: J Delaney Date: Sat, 10 Oct 2015 11:32:19 -0700 Subject: [PATCH] Update README to explain what the UserType option is for in the create-user API --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 75b413f..83c98c9 100644 --- a/README.md +++ b/README.md @@ -113,12 +113,15 @@ Example query: ### Create User -Create Users creates a new user account. +Create Users creates a new user account. Allows an optional "UserType" +to be specified which controls how the record is ecrypted. This can have +a value of either "RSA" or "ECC" and if none is provided will default to +"RSA". Example query: $ curl --cacert cert/server.crt https://localhost:8080/create-user \ - -d '{"Name":"Bill","Password":"Lizard"}' + -d '{"Name":"Bill","Password":"Lizard","UserType":"ECC"}' {"Status":"ok"} ### Summary