api: add gRPC endpoints for creating, updating and deleting passwords

This commit is contained in:
rithu leena john
2016-10-27 16:28:11 -07:00
parent acf3d6385e
commit ed7e943406
5 changed files with 444 additions and 27 deletions

View File

@@ -238,8 +238,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.