code: func GenerateIdentity(a *AuthServer, id IdentityID, additionalPrincipals, dnsNames []string) (*Identity, error) {
  	keys, err := a.GenerateServerKeys(GenerateServerKeysRequest{
  		HostID:               id.HostUUID,
  		NodeName:             id.NodeName,
  		Roles:                teleport.Roles{id.Role},
  		AdditionalPrincipals: additionalPrincipals,
  		DNSNames:             dnsNames,
  	})
  	if err != nil {
  		return nil, trace.Wrap(err)
  	}
  	return ReadIdentityFromKeyPair(keys)
  }
docs: // GenerateIdentity generates identity for the auth server