the profile: default or a name of lower-case letters,
digits and hyphens (STS-AUTHN-0107)
Optionalgiven: Record<string, any>
every field, optionally description, and for a named
policy precedence (1 to 1000, 100 when left out)
{ ok, profile }, or { ok: false, errors } marked with its
error code
Replaces a profile's entry with the values given:
default, or a named policy, which its first save creates.