Pular para o conteúdo

Register a vault in Ripple Custody

All newly deployed vaults must be registered in Ripple Custody (Vault) before they can be used.

Obtain the vault public key

To register the vault, you first need to obtain the public key using one of the following methods.

Obtain the key for an on-premise vault

To obtain the public key for an on-premise vault:

  1. Access the vault logs according to the method supported for your architecture.
  2. Search for the generated public key:

[INFO] [] [InitSvc]: Vault Core pubKeySig (der base64): MCowBQYDK2VwAyEA0rG1QbK6fGtkgsf7XXdbTFJVojK30tNEKrcjicKeVbI=

Obtain the key for a managed vault

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/information

The 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.

Register the vault

To register the vault, create a vault entity, as described in the following sections: