As their name states, API Secret Keys should be kept secret and used for server-to-server communication to upload and manage your assets in Filerobot. API Secret Keys should not be used for the Filerobot widgets and plugins: Uploader Widget, Image Editor and 360° Spin plugin, which would expose your keys. The plugins should be configured for using API Access Keys.
Authentication against the Filerobot API is done with an API Secret Key available under Settings > Developer > API Secret Keys.
You can create additional API Secret Keys and define permissions for the key through the Create new key button.
Each API Secret Key has associated permissions:
|FILE_META_CHANGE||Create file metadata|
|DIR_META_CHANGE||Create directory metadata|
|CONFIG_CHANGE||Change storage container configuration|
|CONFIG_LIST||List storage container configuration|
The key is passed as part the
X-Filerobot-Key HTTP header in every API request, for example:
Cupy-paste the cURL request in your Terminal or click on the API Explorer tab to see the API in action.
Secret Keys should be used for initial migrations involving large amounts of media assets to be uploaded at once.