code: func (ch *CredHub) GenerateCredential(name, credType string, gen interface{}, overwrite Mode) (credentials.Credential, error) {
  	var cred credentials.Credential
  	err := ch.generateCredential(name, credType, gen, overwrite, &cred)
  	return cred, err
  }
docs: // GenerateCredential generates any credential type based on the credType given provided parameters.