Get a Cloud Wallet API key
The Cloud Wallet API lets your app keep a wallet for each of your users. You need a Cloud Wallet API key to create and list those wallets. It's a separate key from your Hovi Connect API key.
The Cloud Wallet API works with EU Digital Identity, cheqd and Indicio ecosystems, at https://cloudwallet.hovi.id.
Available on the Growth plan and above.
Before you start
Make sure you have a Hovi Studio account with an ecosystem. If you don't, follow steps 1 and 2 of Get an API key.
Steps
-
In Hovi Studio, open Cloud Wallets from the left-hand menu.

-
Click Enable cloud wallets to get your Cloud Wallet API key.

You can manage the key on the same page, including rotating it.
Authentication
The Cloud Wallet API uses two kinds of credentials:
| Credential | Header | Use it for |
|---|---|---|
| Cloud Wallet API key | x-api-key: <YOUR_CLOUD_WALLET_API_KEY> | Creating wallets, listing wallets and deleting a wallet as an admin |
| Wallet access token | Authorization: Bearer <WALLET_ACCESS_TOKEN> | Everything else for that wallet: credentials, proofs, connections, webhooks and deleting the wallet |
You get a wallet's access token when you create the wallet. For example:
curl -X POST https://cloudwallet.hovi.id/wallet/create \
-H "x-api-key: <YOUR_CLOUD_WALLET_API_KEY>" \
-H "Content-Type: application/json" \
-d '{ "label": "Alex Smith", "secret": "<WALLET_SECRET>" }'
The response includes the wallet's id and its accessToken.
You can also try it in your browser: open POST - Create Wallet in the API Reference, click Test Request, and enter your key in the x-api-key header.

What happens next
Create a wallet for each of your users.