Skip to main content

What is Manage Keys?

A Manage Key allows you to perform operations like creating, reading, updating, and deleting JSON files through API calls, without needing to sign in to the console. Send the key in the X-MAN-API header:
Terminal
For more information on using Manage Keys with the JSONsilo API, refer to our API Reference Documentation.

How to Create a Manage Key

1

Go to the Keys Page

Click Keys in the sidebar and select the Manage keys card.
Keys screen with the Manage keys card selected
2

Generate a New Manage Key

Click the New manage key button.
3

Set Key Details

In the dialog, enter a name and select a duration for your Manage Key, then click the Create key button.The duration is how long the key stays valid: 1 month, 3 months, 6 months, or 12 months.
On the free trial and the legacy Free plan, Manage Keys last 1 month. Longer durations are available on the Basic and Pro plans.
4

Save the Manage Key

The Key created dialog shows your key. Copy the Manage Key and store it securely.Tick I’ve stored this key somewhere safe, then click Done.
Copy the key now, as you won’t be able to see it again!
After that, the key is listed with its name, duration, expiry date, and the date it was created.

When a Manage Key Expires

A Manage Key stops working on its expiry date. Requests made with an expired key return 401 with the message API Key Expired. A key can’t be extended. Create a new one before the old one expires, update your apps, and then delete the old key.

Deleting a Manage Key

To delete a Manage Key, follow these steps:
1

Go to the Keys Page

Click Keys in the sidebar and select the Manage keys card.
2

Delete the Manage Key

Find the Manage Key you want to delete in the list and click the trash icon at the end of its row.
3

Confirm

In the Delete this key? dialog, click the Delete button. The key stops working immediately, and this action can’t be undone.

Manage Keys and Schema Lock

A Manage Key can replace a silo’s data, but it can’t change or remove a silo’s schema. If a silo has a locked schema, an update that doesn’t match it is rejected with 422.

Best Practices for Managing Manage Keys

  • Keep Your Manage Keys Secret: Treat your Manage Keys like passwords. Do not share them publicly or expose them in client-side code.
  • Rotate Your Manage Keys Regularly: Periodically regenerate your Manage Keys to minimize the risk of unauthorized access.
  • Use Environment Variables: Store your Manage Keys in environment variables instead of hardcoding them in your application.