All newly deployed vaults must be registered in Ripple Custody (Vault) before they can be used.
To register the vault, you first need to obtain the public key using one of the following methods.
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: