X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=README.md;h=d129e5ba947220b13c2015a612e7c72de2e59dad;hb=ad4027aaf03f8558e2c6bbbd4fe548b6b759f3b2;hp=ea061ce3c3e4991ab3bd97a14a2851acb440d4ee;hpb=e71a59552ad658cf75e2fb0bfd375bdf51695f0d;p=clamp.git diff --git a/README.md b/README.md index ea061ce3..d129e5ba 100644 --- a/README.md +++ b/README.md @@ -91,4 +91,19 @@ With the default log settings, all logs will be generated into console and into ### Api -You can see the swagger definition for the jaxrs apis at `/restservices/clds/v1/openapi.json` \ No newline at end of file +You can see the swagger definition for the jaxrs apis at `/restservices/clds/v1/openapi.json` + + +## Clamp Credentials + +Credentials should be specified in `src/main/resources/clds/clds-users.json`. You might specify you own credential file by redefining the `clamp.config.files.cldsUsers` in `application.properties`. + +Passwords should be hashed using Bcrypt : +``` +# pip3 install bcrypt # if you don't have the bcrypt python lib installed, should be done once. +# python3 -c 'import bcrypt; print(bcrypt.hashpw("password".encode(), bcrypt.gensalt(rounds=10, prefix=b"2a")))' +``` + +Default credentials are admin/password and cs0008/password. + +