code: func (ch *CredHub) GeneratePassword(name string, gen generate.Password, overwrite Mode) (credentials.Password, error) {
  	var cred credentials.Password
  	err := ch.generateCredential(name, "password", gen, overwrite, &cred)
  	return cred, err
  }
docs: // GeneratePassword generates a password credential based on the provided parameters.