Key Management
How are keys managed?
Creating and approriately storing API keys is crucial for correct usage of the Arcsec API services. Arcsec uses a asymmetric encryption to store and manage keys.
The API keys are created specifcally for each database and are not shared between databases. There is a limit of three API keys per database and they are only shown once when creating the key.
API Route
- Route:
/api/save-api-key - Route:
/api/delete-api-key - Operation:
save - Operation:
delete
Key Operations
When saving and deleting API keys using the above endpoints via the UI, the following operations are performed:
- Authenticate the request
- Save the API key to the database to be retrieved later by the '/api/query' endpoint
- Delete the API key from the database when prompted by the user (only available in the UI)
Usage
You can create and delete API keys using the UI interface. Simply navigate to the "Connect" tab and click the "Create API Key" button. To delete an API key, you can simply delete the key from the list of keys which removes it from the database.