A user is a human or technical consumer of the Harmonize service.
A user is associated with a public key, which is registered into the system alongside a set of roles. The roles relate to the permissions a user has to access the various entities within the system (as defined within a particular domain) as well as to propose, approve and reject the execution of intents (as defined by the approval workflow of a policy).
Users have, in particular, the following properties:
publicKey: the public key used to authenticate any user requestroles: a collection of human-readable strings defining the roles of a user
The private key corresponding to publicKey is generated on the user-side, either within the mobile approval terminal or programmatically, and is never communicated to the system. We emphasize here that a user key pair is merely used to authenticate the user and approve the execution of intents; it is unrelated to the account keys securing the accounts on the ledger. The loss of a user key is dealt with by locking the user and creating a new user with a rotated key.
The locking of a user prevents its access to the platform entirely.
- Mock serverhttps://docs.ripple.com/_mock/products/custody/devbox/v1/domains/{domainId}/users
curl -i -X GET \
'https://docs.ripple.com/_mock/products/custody/devbox/v1/domains/{domainId}/users?limit=1&startingAfter=497f6eca-6276-4993-bfeb-53cbbbba6f08&sortBy=id&sortOrder=ASC&alias=alias1&publicKey=MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAENYOHIq0Pgg5ERTQOahVK3I45%2BefvsRvw1rcyk%2Boqpnj7qkXSEis3BbgnwBY42uolGg7lPbusmAMWVDYRqKMApQ%3D%3D&roles=admin%2CtestUser&roles%5B%5D=admin%2CtestUser%2Ceditor&lock=Locked%2CUnlocked&metadata.createdBy=fdeeeb4b-f987-4ec4-9880-1eb280581d49&metadata.lastModifiedBy=90c4cf2f-ebe0-4bf7-91cd-4c45cd02277b&metadata.description=description1&metadata.customProperties=key1%3Avalue1%2Ckey2%3Avalue2' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "items": [ { … } ], "count": 0, "currentStartingAfter": "string", "nextStartingAfter": "string" }