Creating key quorums
To create a key quorum, first [create the authorization keys](/controls/authorization-keys/keys/keys and/or get the user IDs of the users that will constitute the key quorum.
Once you have the user ID(s) and/or authorization key(s) you would like in your key quorum, you can then register the key quorum with Privy via the Dashboard or the REST API.
Visit the Authorization keys page of the Wallets section for your app, click New key, and select Register key quorum instead.
Specify the public keys you’d like to add to the quorum and an authorization threshold.
Key quorums containing both user IDs and authorization keys must be created via the REST API.
Visit the Authorization keys page of the Wallets section for your app, click New key, and select Register key quorum instead.
Specify the public keys you’d like to add to the quorum and an authorization threshold.
Key quorums containing both user IDs and authorization keys must be created via the REST API.
Register the key quorum with Privy by making a POST
request to:
In the request body, include the following.
Show request body parameters
Show request body parameters
A list of PEM or DER formatted P-256 public keys to register. Make sure to include the PEM header and footer and to properly escape any newlines.
A list of user IDs to include in the key quorum.
The minimum number of signatures required to authorize an action. If left unset, the default is all keys.
Human readable display name to attach to the key.
If the request is successful, Privy will return the following fields in the response.
Show response body fields
Show response body fields
Unique ID for the key quorum, used to assign the owner_id
to a resource.
The list of public keys and their display names.
The list of user IDs included in the key quorum.
The minimum number of signatures required to authorize an action. If left unset, the default is all keys.
Human readable display name to attach to the key.
The returned id
for the key quorum is used as the owner_id
field when creating or updating resources (e.g. wallets or policies) in the Privy API.
See an example request for creating a key quorum below.
Show example request to create a key quorum
Show example request to create a key quorum
As an example, a request to register a 2 of 2 key quorum might look like the following:
An example successful response would look like: