Security templates
Security templates are used to generate API access keys (temporary keys with configurable permissions & restrictions)
The Security Templates are accessible from Settings > Development > Security templates
Create a security template
Security Templates can be created with the Add Template button by entering the following informations
Description
Used to identify the security template
Permissions
Used to defines what users can / can't do with the assets. Permissions are selected from the list:
API Permission | Description |
---|---|
| List files |
| Fetch file |
| Upload file |
| Create file metadata |
| Rename file |
| Move file |
| Delete file |
| Set file visibility |
| Create directory |
| Rename directory |
| Create directory metadata |
| Move directory |
| Delete directory |
| Set dir visibility |
| Change container configuration |
| List container configuration |
| Change product information |
| Perform autotaggin |
| Manage shares |
| Manage airbox |
| Manage approval |
| Manage approval voting |
Upload limits
These settings set limits on the Upload API.
Setting | Description | Default |
---|---|---|
Limit per min
( | Set the maximum of upload per minute with the key | Unlimited |
Limit per source IP
( | Maximum number of uploads allowed by IP by the key | Unlimited |
Directory scope
( | Directories where the key is allowed to upload. If you want to allow all subdirectories of /folder, set the value to /folder/* | All directories |
Restrict IP limitation
It restricts API calls based on IP address ranges and/or countries.
Setting | Description | Default |
---|---|---|
| Allowed IP ranges for using the key from | 0.0.0.0 format accepted: 8.8.8.8, 255.240.0.0/12, ... |
| Allowed countries for using the key from. Provide the code ISO of the country | all countries The IP are converted to country thanks to GeoLite2 |
Key Validity
This setting allows to set validity period of key, for example to match the user's session length in your authenticated application
Setting | Description | Default |
---|---|---|
| time in second before the key expires | 1200 s (20 minutes) |
Listing Limits
Directories where the key is allowed to list elements. If you want to allow all subdirectories of /folder, set the value to /folder/*
Setting | Description | Default |
---|---|---|
| Directories where the key is allowed to list and search assets. If you want to allow all subdirectories of /folder, set the value to /folder/* | All directories |
Manage existing Security templates
Existing API keys can be managed individually or in bulk for status (Active <> Deactivate):
User level | Description |
---|---|
Description | To identify the Security template |
Secret key | To be kept secret |
Created at | The API key creation date |
Scope | Used to limit the scope |
Active | The Security template status that can be toggled from active to deactivated using the |
Copy | Copy the secret key in the notepad for easy reuse |
Last updated