Merge pull request #649 from rithujohn191/gRPC-endpoints

api: add gRPC endpoints for creating, updating and deleting passwords
This commit is contained in:
Eric Chiang
2016-11-01 14:20:31 -07:00
committed by GitHub
5 changed files with 444 additions and 27 deletions

View File

@@ -249,8 +249,7 @@ type Password struct {
// (cough cough, kubernetes), must map this value appropriately.
Email string `yaml:"email"`
// Bcrypt encoded hash of the password. This package recommends a cost value of at
// least 14.
// Bcrypt encoded hash of the password. This package enforces a min cost value of 10
Hash []byte `yaml:"hash"`
// Optional username to display. NOT used during login.