All newly deployed vaults must be registered in Ripple Custody before they can be used.
At the time you open a new vault, it is important to set the key management system (KMS) — either HSM (hardware-security module) or MPC (multi-party computation) — to enable correct behavior of the system. This does not affect existing vaults. For more information about MPC key management, contact your Ripple liaison.
To register the vault, you first need to obtain the public key for either an on-premise or a managed vault. Follow the process accordingly.
To obtain the public key for an on-premise vault:
- Access the vault logs according to the method supported for your architecture.
- Search for the generated public key:
[INFO] [] [InitSvc]: Vault Core pubKeySig (der base64): MCowBQYDK2VwAyEA0rG1QbK6fGtkgsf7XXdbTFJVojK30tNEKrcjicKeVbI=
To obtain the public key for a vault that is managed by an agent, call the following API operation:
<VAULT_HOST_ADDRESS>/internal/v1/system/informationThe vault host returns the following response:
{
"publicKey":<VAULT_PUBLIC_KEY>",
"registeredInHarmonize":false,
"vaultId":"<VAULT_ID>"
}For more information about managed vaults, see Deploy an agent.
To register the vault, create a vault entity, as described in the following sections: