Adds a key to, or rotates the key of, a realm-custody DID: one act,
authorized by the signed-in person, the new key generated and sealed.
add keeps the current keys beside it; rotate replaces them.
Parameters
username: string
the signed-in person
rid: unknown
the DID's random id
change: string
add or rotate
Returns any
{ ok, record, version }, or { ok: false, code, error }
Adds a key to, or rotates the key of, a
realm-custody DID: one act, authorized by the signed-in person, the new key generated and sealed.addkeeps the current keys beside it;rotatereplaces them.